Consistency of Submitted Form Fields

2005-08-11 Thread Dawson, Michael
When a form is submitted, the form.fieldNames variable contains the fields in the same order as they appear on the form page itself. Can I actually always count on this to be true? Is this a per-browser implementation or is it a standard? Is there a good chance that CF will one day sort the

RE: Consistency of Submitted Form Fields

2005-08-11 Thread Dave.Phillips
there's another solution to your issue. Dave -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 11:05 AM To: CF-Talk Subject: Consistency of Submitted Form Fields When a form is submitted, the form.fieldNames variable contains the fields

RE: Consistency of Submitted Form Fields

2005-08-11 Thread Dawson, Michael
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 10:21 AM To: CF-Talk Subject: RE: Consistency of Submitted Form Fields Personally, I wouldn't count on it. That's something out of your control and it's always dangerous to 'count on' something out of control. Besides, as far

RE: Consistency of Submitted Form Fields

2005-08-11 Thread Dawson, Michael
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 10:21 AM To: CF-Talk Subject: RE: Consistency of Submitted Form Fields Personally, I wouldn't count on it. That's something out of your control and it's always dangerous to 'count on' something out

RE: Consistency of Submitted Form Fields

2005-08-11 Thread Ian Skinner
A little JS would make this pretty easy. A simple function that is triggered on submit of the form could easily parse through the form array and delineate the fields into a particular field for this purpose. This way it is based on the structure of the form and does not rely on how the

Re: Consistency of Submitted Form Fields

2005-08-11 Thread Robyn
Dawson, Michael wrote: One solution I thought of would be to specify a list of the form fields in the specific order. However, that leads to duplication of code and then what happens when I forget to add a field to the sort order list? Use JavaScript to traverse through all form fields on

Re: Consistency of Submitted Form Fields

2005-08-11 Thread Thomas Chiverton
On Thursday 11 August 2005 16:35, Dawson, Michael wrote: mish-mash of worst-practices. ;^) All in all, the form mailer will only be used by departmental web sites that just need a quick email form. This is not intended to be used, at They don't need the complicated formating controled

RE: Consistency of Submitted Form Fields

2005-08-11 Thread Dave.Phillips
PROTECTED] Sent: Thursday, August 11, 2005 11:46 AM To: CF-Talk Subject: Re: Consistency of Submitted Form Fields Dawson, Michael wrote: One solution I thought of would be to specify a list of the form fields in the specific order. However, that leads to duplication of code and then what