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
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
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
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
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
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
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
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
8 matches
Mail list logo