Matthew,

Check out qForms:
http://www.pengoworks.com/qForms/

It will greatly simplify creating client-side validation. You don't need to
be a JavaScript wizard, if can program in CF, you should be able to use the
qForms API with no problems. It's also *much* more powerful than the
built-in CFFORM validation in CF.

-Dan

> -----Original Message-----
> From: Matthew Hood [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 12, 2001 5:44 PM
> To: CF-Talk
> Subject: Slightly OT: Form Validation Woes
>
>
> Ok, here is the problem:
>     I have various sets of radio buttons on a page. 4 sets to a page
> actually.
> I need a javascript that will validate that a radio button has been
> selected
> for each of the four sets. Being no good a javascript I am turning to
> you for help. ( I know this isn't a cold fusion question per say but
> the values are entered into a DB when all is said and done.)
> Is there a script that can run through each set and verify that a
> selection has been made, without having to manually edit the script
> for each page and inputting the names?
>
> Here is a what the radio buttons look like:
> <TD>
> <cfinput type="Radio" name="WPAvailability" value="5"
> tabindex="1">5<br>
>
> <cfinput type="Radio" name="WPAvailability" value="4"
> tabindex="2">4<br>
>
> <cfinput type="Radio" name="WPAvailability" value="3"
> tabindex="3">3<br>
>
> <cfinput type="Radio" name="WPAvailability" value="2"
> tabindex="4">2<br>
>
> <cfinput type="Radio" name="WPAvailability" value="1"
> tabindex="5">1<br>
>
> <cfinput type="Radio" name="WPAvailability" value="0" tabindex="6">N/A
> </TD>
> <TD>
> <cfinput type="Radio" name="WPProficiency" value="5" tabindex="1">5<br>
> <cfinput type="Radio" name="WPProficiency" value="4" tabindex="2">4<br>
> <cfinput type="Radio" name="WPProficiency" value="3" tabindex="3">3<br>
> <cfinput type="Radio" name="WPProficiency" value="2" tabindex="4">2<br>
> <cfinput type="Radio" name="WPProficiency" value="1" tabindex="5">1<br>
> <cfinput type="Radio" name="WPProficiency" value="0" tabindex="6">N/A
> </TD>
> <TD>
> <cfinput type="Radio" name="WPImportance" value="5" tabindex="1">5<br>
> <cfinput type="Radio" name="WPImportance" value="4" tabindex="2">4<br>
> <cfinput type="Radio" name="WPImportance" value="3" tabindex="3">3<br>
> <cfinput type="Radio" name="WPImportance" value="2" tabindex="4">2<br>
> <cfinput type="Radio" name="WPImportance" value="1" tabindex="5">1<br>
> <cfinput type="Radio" name="WPImportance" value="0" tabindex="6">N/A
> </TD>
> <TD>
> <cfinput type="Radio" name="WPFrequency" value="5" tabindex="1">5<br>
> <cfinput type="Radio" name="WPFrequency" value="4" tabindex="2">4<br>
> <cfinput type="Radio" name="WPFrequency" value="3" tabindex="3">3<br>
> <cfinput type="Radio" name="WPFrequency" value="2" tabindex="4">2<br>
> <cfinput type="Radio" name="WPFrequency" value="1" tabindex="5">1<br>
> <cfinput type="Radio" name="WPFrequency" value="0" tabindex="6">N/A
> </TD>
>
>
>
> Any help would be GREATLY appreciated! Thanks.
>
> Matthew Hood
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to