Re: [OT] Form Check java problem
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51419
interpreted = N
texte = function CheckForm() { if (document.myform._agb.checked) return true; else alert ("Not checked"); return false; } =20//-->This will work for checking if a checkbox is checked.Sincerely,Nitai AventaggiatoCEOOn 30.6.2003 14:29 Uhr, "Steve Craig"
wrote:> 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 wondering> 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--Redakto - Content Management that simply worksComputerOil=AE GmbHUnionstrasse 48032 Z=FCrich / SwitzerlandTelefon +41 43 333 1 555info@computeroil.comhttp://computeroil.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:
function CheckForm() { if (document.myform._agb.checked) return true; else alert ("Not checked"); return false; } =20//-->This will work for checking if a checkbox is checked.Sincerely,Nitai AventaggiatoCEOOn 30.6.2003 14:29 Uhr, "Steve Craig" wrote:> 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 wondering> 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--Redakto - Content Management that simply worksComputerOil=AE GmbHUnionstrasse 48032 Z=FCrich / SwitzerlandTelefon +41 43 333 1 555info@computeroil.comhttp://computeroil.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/
"Nitai @ ComputerOil"
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:
[WebDNA] anyone have a good tcpconnect post snippet? (2009)
keep W* in front applescript? (1998)
Lookup Notfound (1998)
WebDNA 5.0 Questions (2003)
[OT] Disable/enable field (2003)
Setting up shop (1997)
WebDNA Quick Reference (Reserved Words) (2000)
SSL data to/from webcatalog? (2000)
Logical and or in [hideif] (1997)
Opinion: [input] should be called [output] ... (1997)
RE: [WebDNA] Hosting Solution (2013)
OT: 800x600 (2003)
creator code (1997)
help needed w/ search params (1998)
WebCat2 - [format thousands] (1997)
Max Record length restated as maybe bug (1997)
encrypt/decrypt (2001)
Append..... doesn't (2000)
[Announce]: Web server security and password protection (1997)
Pre-flight public flag (1997)