Bad news using ListContains...
because
this list contains 3

103,33,13,23,53

do a ListFind.. 3 will not be found in this list.

103,33,13,23,53

Heath

-----Original Message-----
From: sebastian palmigiani [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 2:38 PM
To: CF-Talk
Subject: Re: Validating Checkboxes


on 2/21/01 1:07 PM, Phoeun Pha at [EMAIL PROTECTED] wrote:

> Anyone have a good method in CF for validating checkboxes (grouped).

Since the form gives you a comma delimited list of values of the boxes
checked I would test with ListContains(variableName, variableValue).

Sebastian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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