I'm not sure if the relevant RFC's covered this. When I used Netlink, it kept the incoming fields in the form order. I could do things like have hidden data fields (between logical blocks of information) that contained lines "---------------" or hidden fields that had titles for a section, this would visually help organize the information in the email, making it easier for the end user to read the data.

Thanks for the idea.

Bill

At 13:55 11/21/2003 -0500, you wrote:
Thanks for the tip.

I wanted to setup a generic & simple form processing. When someone fills out any form, it sends an email to the owner of the website with the list of plain English field names and the data in the logical order of the form. I guess I could strip the number prefix before sending it out. The other inconvenience is having to explain to other web developers to add a number prefix to each field. With long forms (and adding fields to the form later) this would be a bit of a pain.

Thanks,

Bill

I don't think that the concept of form field order exists with respect to how headers are submitted. If you examine the headers for different browsers across platforms, I wouldn't be surprised if you will find that form data isn't always sent in the same order. Maybe the relevant RFCs cover whether this is part of the HTTP specification? Point is, there may not be a way for Aparajita to reliably get what you are requesting.


Have you considered putting hidden data representing field order in your form or in a session variable? For example a string such as "First_Name,Last_Name,Phone_Number,Address".

Parse this to an array (Active4D makes this really easy). Then loop through the array and retrieve and process the form variables corresponding to First_Name, Last_Name, Phone_Number, Address in that order?

hth,

Brad
_______________________________________________
Active4d-dev mailing list
[EMAIL PROTECTED]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev


--

___________________________________________________
Bill McCarvell                  Tel: (519) 472-4700
Syntaxis On-Line Inc.           Fax: (519) 472-4750
www.syntaxis.net                        email: [EMAIL PROTECTED]
London, Ontario Canada
___________________________________________________



Reply via email to