Re: [OT] Form Check java problem

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51423
interpreted = N
texte = Thanks for this - great help > function CheckForm() > { > if (document.myform._agb.checked) return true; > else > alert ("Not checked"); > return false; > } =20 > //--> >=20 > This will work for checking if a checkbox is checked. >=20 > Sincerely, > Nitai Aventaggiato > CEO >=20 >=20 > On 30.6.2003 14:29 Uhr, "Steve Craig" wrote: >=20 >> Hi >>=20 >> Sorry for the off topic but I am just a fiddler when it comes to Java. >>=20 >> 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 wonderin= g >> how you would check for the state of the checkboxes. >>=20 >>=20 >> function formCheck(formobj) >> { >> if (formobj.qty.value =3D=3D '') { >> alert('Please enter your quantity.'); >> return false; >> } >> else >> So on and on... >>=20 >> Thanks for any help in advance >>=20 >> Cheers >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Steve Craig - Asylum Interactive Ltd >> Tel +44 1224 642960 Fax +44 1224 642962 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> http://www.asylumweb.com >> Email: steve@asylumweb.com >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >>=20 >>=20 >>=20 >> ------------------------------------------------------------- >> 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/ >>=20 >=20 > -- > Redakto - Content Management that simply works >=20 > ComputerOil=AE GmbH > Unionstrasse 4 > 8032 Z=FCrich / Switzerland > Telefon +41 43 333 1 555 >=20 > info@computeroil.com > http://computeroil.com >=20 >=20 >=20 >=20 > ------------------------------------------------------------- > 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/ >=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Steve Craig - Asylum Interactive Ltd Tel +44 1224 642960 Fax +44 1224 642962 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://www.asylumweb.com Email: steve@asylumweb.com =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ------------------------------------------------------------- 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)
Thanks for this - great help > function CheckForm() > { > if (document.myform._agb.checked) return true; > else > alert ("Not checked"); > return false; > } =20 > //--> >=20 > This will work for checking if a checkbox is checked. >=20 > Sincerely, > Nitai Aventaggiato > CEO >=20 >=20 > On 30.6.2003 14:29 Uhr, "Steve Craig" wrote: >=20 >> Hi >>=20 >> Sorry for the off topic but I am just a fiddler when it comes to Java. >>=20 >> 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 wonderin= g >> how you would check for the state of the checkboxes. >>=20 >>=20 >> function formCheck(formobj) >> { >> if (formobj.qty.value =3D=3D '') { >> alert('Please enter your quantity.'); >> return false; >> } >> else >> So on and on... >>=20 >> Thanks for any help in advance >>=20 >> Cheers >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Steve Craig - Asylum Interactive Ltd >> Tel +44 1224 642960 Fax +44 1224 642962 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> http://www.asylumweb.com >> Email: steve@asylumweb.com >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >>=20 >>=20 >>=20 >> ------------------------------------------------------------- >> 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/ >>=20 >=20 > -- > Redakto - Content Management that simply works >=20 > ComputerOil=AE GmbH > Unionstrasse 4 > 8032 Z=FCrich / Switzerland > Telefon +41 43 333 1 555 >=20 > info@computeroil.com > http://computeroil.com >=20 >=20 >=20 >=20 > ------------------------------------------------------------- > 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/ >=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Steve Craig - Asylum Interactive Ltd Tel +44 1224 642960 Fax +44 1224 642962 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http://www.asylumweb.com Email: steve@asylumweb.com =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ------------------------------------------------------------- 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:

Search in 2 or more catalogs (1997) WebCat2 - Getting to the browser's username/password data (1997) The Mysterious '<' (1998) [random] only for 1-100??? (1997) Custom Shipping Charges (1997) WC2b15 File Corruption (1997) Acrobat Form Submission (1999) WebCat cannot handle compatible search parameters? (1997) [delete] problem (1997) Re Running Locally (2001) WebCatalog for guestbook ? (1997) Webmerchant/Cybercash (2000) [WebDNA] shopping sites and the "old commerce tags" (2012) New public beta available (1997) Blowback and budgets. - OT (2000) WC2f3 (1997) Limitations on fields? Server is crashing (1997) [WebDNA] Best practice re: password storage (2013) Signal Raised (1997) Search Combining Problem (2004)