You can use Javascript.. but using a template and passing variables back to
the template for correct is a much more cleaner approach..
Cfif isDefined("form.CheckboxName") in CF
If document.formname.CheckboxName.value == "" in JavaScript
Joe
Certified Advanced ColdFusion Developer
[EMAIL PROTECTED]
-----Original Message-----
From: Tilbrook, Peter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 3:02 AM
To: CF-Talk
Subject: FORM help
I have a form where some of the fields are mandatory.
However at the bottom is a check box to say the the form details are not
required by the application.
How can I test for the mandatory fields but ignore them if they select that
the service is not required and submit the form?
Thanks! :)
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists