![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
I have a simple fill-out form with three fields, in this order: Name, E-mail, and Comment. |
|
But when I receive the E-mail containing the form data, the fields are listed backwards (Comment, E-mail, Name). |
|
I've checked the CGI file, and it doesn't appear to control the sort order. |
|
Is there a way to tell the HTML code to sort the field data for E-mail? |
#3
| |||
| |||
|
|
Yeah wrote: I have a simple fill-out form with three fields, in this order: Name, E-mail, and Comment. It would be better to announce your E-mail address, assuming you wish to have useful communication. For just sending a free-format message, fill-out forms are clumsier to use than even the most primitive E-mail program. They can be occasionally useful still as an _additional_ possibility, since the user cannot always use an E-mail client. |
|
But when I receive the E-mail containing the form data, the fields are listed backwards (Comment, E-mail, Name). It depends on the script. It has nothing to do with HTML. I've checked the CGI file, and it doesn't appear to control the sort order. Then why don't you make it do so, if the order matters to you. |
|
Is there a way to tell the HTML code to sort the field data for E-mail? HTML code does nothing. It is data. Browsers are supposed to create the form data set in the order in which fields appear in HTML code, but it would be quite unnecessary to rely on browsers getting this right. Anyway, what happens after the form data has been sent is quite external to HTML. |
![]() |
| Thread Tools | |
| Display Modes | |
| |