Claude,

Brian and David have suggested client-side approaches, but you can also
make a checkbox field required, using server side validation. Just set it
up with a hidden field in the format, your_checkbox_field_required, the
same as your other required fields. Be sure not to preselect any of the
checkboxes, or you'll defeat the validation.

--John



                                                                                       
                            
                    "AustralianAccommodation.com                                       
                            
                    Pty. Ltd."                          To:     CF-Talk 
<[EMAIL PROTECTED]>                
                    <director@AustralianAccommod        cc:                            
                            
                    ation.com>                          Subject:     Making Check Box 
Selection Mandetory          
                                                                                       
                            
                    10/10/2000 09:27 AM                                                
                            
                    Please respond to cf-talk                                          
                            
                                                                                       
                            
                                                                                       
                            



Using forms placing "required" and "message" inside the input tag allows
you
to ensure that the user enters input in order for the form to be submitted

is it possible to have the same functionality over check box input when
there are several check boxes to select from for the one input variable
without any initially being checked and that unless the user checks one of
the them the form will not be submitted

I look forward to your comments


Kind Regards

Claude Raiola (Director)
AustralianAccommodation.com Pty. Ltd.
Website: www.AustralianAccommodation.com
Email: [EMAIL PROTECTED]

------------------------------------------------------------------------------

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.




------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to