
April 4th, 2004, 10:54 AM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Spyce: POST variables in the order on the form
I have a dhtml table/form that lets the user add/delete rows and enter data into the form. What I'm trying to do is figure out a way to have the form variables sorted by the order in which they appear in the table. For my strange scenario, I need the form variables in the order they appear in the table so I can put them into XML, in order.
The hard part is that I have the form variables named "type1" to typeX". However, since each table row can add/delete, the numbers can end up being out of order (e.g., type1 then type3 then type2).
I'm not sure how to attack this or if there is a solution to my problem. I hope there is so I don't have to start over from scratch with a new design! I have probably stated my question/problem poorly so let me know what I need to clarify...
Thanks,
Joel
|