Hi All,
I am new to programming so apologies if this is a basic question. I am using the following code to request the form field values. however all works as expected but the field order is mixed up.
I have tried setting the tabindex on the fields,to try and resolve the issue, but no such luck.
Is there any way i can sort the field order using the tabindex ?
Thanks in advance.
*************** *************** *************** *************** ********
<%
FiName = Request.Form("A TID")
Set filesys = CreateObject("S cripting.FileSy stemObject")
set resultfile = filesys.CreateT extFile("D:\res ults\"& FiName & ".txt")
For each inputField In Request.QuerySt ring
For Each inputValue in Request.QuerySt ring(inputField )
resultfile .Writeline inputField & " = " & inputValue &"<BR>"
Next
Next
%>
I am new to programming so apologies if this is a basic question. I am using the following code to request the form field values. however all works as expected but the field order is mixed up.
I have tried setting the tabindex on the fields,to try and resolve the issue, but no such luck.
Is there any way i can sort the field order using the tabindex ?
Thanks in advance.
*************** *************** *************** *************** ********
<%
FiName = Request.Form("A TID")
Set filesys = CreateObject("S cripting.FileSy stemObject")
set resultfile = filesys.CreateT extFile("D:\res ults\"& FiName & ".txt")
For each inputField In Request.QuerySt ring
For Each inputValue in Request.QuerySt ring(inputField )
resultfile .Writeline inputField & " = " & inputValue &"<BR>"
Next
Next
%>
Comment