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:

[subtotal] problems -- help? (1998) hidden databases (2000) can WC render sites out? (1997) random random links (1999) 2.0 Beta (1997) Why did this copyfile stop working? (2004) RE: Credit Card Checksum (1997) Date or time comparisons have bugs ... (1998) protect tag on NT (1997) form crasehes server (1997) RE: Missing contexts on NT (1997) Secure server question (1997) Shipping still a problem!! (1998) Multiple fields on 1 input (1997) WebCat2b12 - New features for 1.6 users ... (1997) Database on the same server but with different domains (2000) ssh shutdown (2005) [WebDNA] Stop & Start WebDNA Remotely (2011) Double Spacing in Mails from Sendmail (2002) [WebDNA] Combining searches with blank and zero values? (2011)