| Subject: | Re: IF CHECK BOX IS CHECKED |
|---|---|
| From: | "dongzky" <webforumsuser@xxxxxxxxxxxxxx> |
| Date: | Wed, 30 Jul 2008 12:48:10 +0000 (UTC) |
| Newsgroups: | macromedia.coldfusion.cfml_general_discussion |
you can do it in the validation page. in your validation page, check if the
checkbox is defined or not and also if the value is true. something like
<cfif IsDefined("FORM.Stolen") AND FORM.Stolen>
<cfif Len(FORM.StolenDate) AND IsDate(FORM.StolenDate)>
do the update
<cfelse.
go back to edit page and display message that StolenDate is required
<cfif>
<cfelse>
just do the update
</cfif>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: CFMail in CF8 on Windows VPS account not sending emails via Smartermail 5, siegler |
|---|---|
| Next by Date: | Re: Submitting a form to itself, Ian Skinner |
| Previous by Thread: | anyone written a combined pop3 client / imap server ?, Dax Trajero |
| Next by Thread: | Re: IF CHECK BOX IS CHECKED, CF_output |
| Indexes: | [Date] [Thread] [Top] [All Lists] |