form results received in tab order?

  • Thread starter Thread starter Larry Williams
  • Start date Start date
L

Larry Williams

on my page, i have created a form that will send the
results to a .txt file & my e-mail. my problem is
regarding the order that these results are in when i
receive them. They are not in alphabetical or tab order
when i get them and i would like them to be in their
respective tab order as results. how can i do this?
thanks.
 
They will always be in the form field order in your page except for textareas which will always be at the end of the fields

--




| on my page, i have created a form that will send the
| results to a .txt file & my e-mail. my problem is
| regarding the order that these results are in when i
| receive them. They are not in alphabetical or tab order
| when i get them and i would like them to be in their
| respective tab order as results. how can i do this?
| thanks.
 
Hi Larry,
As Stefan pointed out FP can't do this. Do you have access to any server
side scripting language, asp/php etc? If so post back here and someone will
tell you how to do what you want - altho no server-side language can put
form results in tab order - the best you can do is put results in the order
theyre displayed on your form
 
However using server-side scripting, you can generate the email with the
fields in any order that you want them to appear in.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
You're right of course. When I wrote my reply I was thinking of displaying
the form fields in a loop, eg
<%
for x = 1 to Request.Form.count()
email=email & Request.Form.key(x) & " = " Request.Form.item(x) & vbcrlf
next
%>
Which would display the fields in the order of the form. But there'd be
nothing to stop you doing
<%
email = email & "name=" & request.form("name") & vbcrlf
email = email & "email=" & request.form("email") & vbcrlf
' etc
%>
To get any order you wanted

Jon
 
Back
Top