Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
jps26401  
#1 Posted : Monday, July 2, 2007 2:08:17 AM(UTC)
jps26401

Rank: Member

Groups: Member
Joined: 3/20/2007(UTC)
Posts: 21

Hi all,

I have the following problem.

I have big form (approx. 20 items) with ImageUploader. All form items are uploaded with iu.addParam("AdditionalFormName", "addDocument");. But some form items which are added or removed dynamically must be explicitly added with AddField() method. Here is not problem but when I then remove all dynamically added form items (without page refresh) and I upload file again then there are values from addField even when form items doesn't exist yet. It works fine only when I call removeField().

Once again with steps:

1) add dynamically form items (text fields)

2) upload files with form items

3) remove dynamically added form items

4) upload files again => component sent removed form items

It seems as component saves values for addField items and sends them even when there no these items in the form yet.

I think this is bug but I would like to know your opinion.

Thank you, PETER.

Alex Makhov  
#2 Posted : Monday, July 2, 2007 6:26:28 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

If you have so complex form processing you should better add all your fields using AddField method and don't use AdditionalFormName property at all.

Edited by user Friday, February 22, 2008 6:23:27 PM(UTC)  | Reason: Not specified

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.