[OT] Form Check java problem

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51418
interpreted = N
texte = Hi Sorry for the off topic but I am just a fiddler when it comes to Java. I have a page with a simple form on it that consists of one field and 4 checkboxes. A user must fill in the field and at least one of the checkboxes. I am using the following to check the field and I'm wondering how you would check for the state of the checkboxes. function formCheck(formobj) { if (formobj.qty.value == '') { alert('Please enter your quantity.'); return false; } else So on and on... Thanks for any help in advance Cheers ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1224 642960 Fax +44 1224 642962 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com ======================================== ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [OT] Form Check java problem ( Steve Craig 2003)
  2. Re: [OT] Form Check java problem ( "stephen" 2003)
  3. Re: [OT] Form Check java problem ( "Nitai @ ComputerOil" 2003)
  4. [OT] Form Check java problem ( Steve Craig 2003)
Hi Sorry for the off topic but I am just a fiddler when it comes to Java. I have a page with a simple form on it that consists of one field and 4 checkboxes. A user must fill in the field and at least one of the checkboxes. I am using the following to check the field and I'm wondering how you would check for the state of the checkboxes. function formCheck(formobj) { if (formobj.qty.value == '') { alert('Please enter your quantity.'); return false; } else So on and on... Thanks for any help in advance Cheers ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1224 642960 Fax +44 1224 642962 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com ======================================== ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Steve Craig

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

webcat feature request (1997) [WebDNA] Auction (2009) getting images' width/height (1998) [WebDNA] XML Help please (2009) proper way to check if a container is empty? (2000) More than one db with the same namn (was: WC2f3) (1997) [OT] Deploying XRAID (2003) Text data with spaces in them... (1997) Sort Floating Point Number (2008) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) OS X Permissions after upgrade (2001) unable to launch acgi in WebCat (1997) RE:ShowIf & HideIf Question? (1998) This list needs a digest: rant, rave... (1997) Multiple catalog databases and showcart (1997) Cart file not being written (2000) BUG in [showif] using ^ (contains) (1997) Price question (1998) [index] (1997) limiting found items (2001)