Data persistent not remains at user 2

Avatar

25-11-2008

hi guys,



All text field data remain persisted. but i have used two list and used buttons to move item from list one to list two.

The list two is not remaining persisted.

Replies

Avatar

Avatar

Jasmin_Charbonn

Avatar

Jasmin_Charbonn

Jasmin_Charbonn

26-11-2008

What's the context here? Are you expecting an answer or is this just a comment?



Jasmin

Avatar

26-11-2008

no i am not just commenting, I am asking. Why it happens?

means whenever i use script or any dynamic addition in the form not persisted at user2 or at next user task.

Avatar

Avatar

Jasmin_Charbonn

Avatar

Jasmin_Charbonn

Jasmin_Charbonn

27-11-2008

If you dynamically add data to a drop down, you'll lose the dynamic items when you submit the data.



When you submit the data, only the selected value from the drop down is part of the data and not the drop down content. If you want to submit the drop down content, you could save the value in a hidden field and then the value (for that field) would be submitted.



On the second step (user2) you would have to populate the drop down from that hidden field instead when the form initialize.



Jasmin

Avatar

01-12-2008

Thanks jasmin,



Problem is not with the dropdown list.



but i have used simple list boxes. I am explaining once again that,

I have two simple list boxes. i am moving the items from the list1 to list2 using button, javascript is used behind that button. i just want that at the user2 the lists must be same as at the time of submission at user1.

but list1 appears like at time of creation and list2 appears empty. so why data is not persisted.



its not with the case of list but with the table also. i am adding row dynamically to the table but at user two it shows default rows and data stored in the table is lost. please give me suggestion that data should be persisted.



thanks again