View Full Version : for each order

08-15-2005, 05:53 PM
Is there any way to control the order of
for each name in request.form
I always assumed it came through in the order it was in the form but it doesnt.
In the form all the fields are in the order I want them to be and I want to write out the contents of the submitted form in that order for the user to check before confirming the contents and proceeding to the next stage but there are a lot of fields and I dont want to do response.write request.form(name) for every single one of them but they have to be in a specific order.

08-15-2005, 06:16 PM
No. How they are sent is browser dependent and not specified in the html specs (http://www.w3.org/TR/REC-html40/interact/forms.html#successful-controls). You have no way of controlling it.

08-15-2005, 06:28 PM
bah :( Ah well that'll be a fun job tomorrow morning lol

Its a shame since most are in the right place, just the odd one out of place.. rarr