> 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

erm... close, but not quite...

document.formname.CheckboxName.checked == true;

using Checkbox.value == "" will tell you whether or not you typed <checkbox ... 
value=""> when you were constructing the form.

Isaac Dealey

www.turnkey.to
954-776-0046
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to