Do you know JavaScript?  

You can check the value of a form element prior to submission.  Add an
OnSubmit action to the form, calling a function something like this:


function validateInput(theForm){
 if (document.theForm.<elementname>.value == "undefined"){
        alert('hey, fill out the form');
        return false;
        {
  else{
        return true;
 }
}       

-----Original Message-----
From: AustralianAccommodation.com Pty. Ltd.
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 10, 2000 9:27 AM
To: CF-Talk
Subject: Making Check Box Selection Mandetory


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/[email protected]/
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/[email protected]/
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