| |
keith.robinson@talk21.com
Posts: 1
Score: 0
Joined: 12/31/2001
From:
Status: offline
|
I have an html form which contains a number of hidden and checkckbox fields as follows:- <form name='theform' method='post' action='assetmove4a.asp' onSubmit='return validateForm(this)'> <input type='hidden' name='000063' value='Madison 2'> <input type='hidden' name='000063' value='171'> <input type='checkbox' name='000063'> <input type='hidden' name='001330' value='Madison 2'> <input type='hidden' name='001330' value='171'> <input type='checkbox' name='001330'> <input type='hidden' name='001525' value='Madison 2'> <input type='hidden' name='001525' value='171'> <input type='checkbox' name='001525'> <input type='hidden' name='001526' value='Madison 2'> <input type='hidden' name='001526' value='171'> <input type='checkbox' name='001526'> <input type='hidden' name='000554' value='Madison 2'> <input type='hidden' name='000554' value='172'> <input type='checkbox' name='000554'> <input type='hidden' name='000752' value='Madison 2'> <input type='hidden' name='000752' value='172'> <input type='checkbox' name='000752'> </form> When the form is posted I use the following FOR EACH statement to read the form elements received:- Dim FormElement For Each FormElement In Request.Form Response.Write(FormElement) Next The details output are as follows:- 000063 001525 001330 000752 001526 000554 Whereas I was expecting:- 000063 001330 001525 001526 000554 000752 i.e. the same order as the input fields on the form. Does anyone know why this happens??
|
|