>- see footer for list info -< generally I use <cfif len(trim(formField))>
for check boxed, just do what Stephen says! ----- Original Message ----- From: Stephen Adams To: 'Coldfusion Development' Sent: Wednesday, November 24, 2004 4:12 PM Subject: [CF-Dev] Best way to check if a form field is empty >- see footer for list info -< ------------------------------------------------------------------------------ Hi, In your experience, what is the best way to check whether a form field has been completed, both a text field and a checkbox. Is it better to try <cfif LEN(FORM.formfield)> or <cfif LEN(FORM.formfield) EQ 0>? And what about checkboxes? I don't want to use JavaScript, I hate it, grrrrrrrrrrrrrrrrrrrrr! ------------------------------------------------------------------------------ _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
