RE: Consistency of Submitted Form Fields

2005-08-11 Thread Dave.Phillips
ssage- From: Robyn [mailto:[EMAIL 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

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 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 field

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 browser

RE: Consistency of Submitted Form Fields

2005-08-11 Thread Dawson, Michael
ginal 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 'c

RE: Consistency of Submitted Form Fields

2005-08-11 Thread Dawson, Michael
Thanks M!ke -Original 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 alway

RE: Consistency of Submitted Form Fields

2005-08-11 Thread Dave.Phillips
you trying to do? Maybe 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 v

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 f