[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:

Error after loading WebDNA (2004) WebCat2: Master Counter snippet (1997) How Many SKU's is enough? (1997) problems with 2 tags (1997) Need correct syntax for writing to header2 (1999) WebCat b13 CGI -shownext- (1997) Country & Ship-to address & other fields ? (1997) WebCat 3.0 Serial Numbers (1999) Fun with dates (1997) Setting up shop (1997) WebCat2 - [format thousands] (1997) Trouble with [fileinfo] - update (2004) [ConvertChars] problem (1997) SUBMIT buttons not working.... (2000) WebCat2.0 [format thousands .0f] no go (1997) Webmerchant/Cybercash (2000) Email Set-Up? (1997) Multiple prices (1997) WebCatalog hosting (2000) Performance of this mailserver (2000)