Re: [WebDNA] making all fields on a form mandatory
This WebDNA talk-list message is from 2013
It keeps the original formatting.
numero = 110070
interpreted = N
texte = > That's how I do it. You have total control over error messages, etc.>=20> On Thu, 3 Jan 2013 15:49:32 -0600> WebDNA Solutions
wrote:> Javascript can be turned off by the visitor so it won't work> for everyone. WebDNA can do it easily ...> On the following page check the formvariables for blank> values and post an error if any exist.> Sincerely,> Kenneth Grome> WebDNA Solutions> http://www.webdnasolutions.com> WebDNA Programming and Linux Server Administration> =20>> What's the best way to make a form with 20-30 fields>> mandatory to be filled in?>> I'm using a webdna math snippet on one site ... can't>> find it for this email though... :(>> Javascript?>> Jquery?>> Stay with webdna?>> Anyone doing anything like what I need to do?>> BTW>> Happy New Year to all....JS (Javascript/JQuery) is often considered by experts to be only an =*addition*... (and should never be basic/mandatory). In the case of =form validation, that point is especially obvious, because a user could =just turn off JS to get around JS-based form validation. So why bother =with JS form-validation at all? Many don't. Not me either when I am =lazy or in a hurry (but I would never neglect server-side form =validation). But JS (client-side) form validation reduces server burden =(and saves the user time)... i.e. why wait for a full round trip, to =server and back, just find out (in the 99% of the cases where JS is not =turned off) that the user forgot to input his email address? That is =the value of JS for form validation.-Govinda=
Associated Messages, from the most recent to the oldest:
> That's how I do it. You have total control over error messages, etc.>=20> On Thu, 3 Jan 2013 15:49:32 -0600> WebDNA Solutions wrote:> Javascript can be turned off by the visitor so it won't work> for everyone. WebDNA can do it easily ...> On the following page check the formvariables for blank> values and post an error if any exist.> Sincerely,> Kenneth Grome> WebDNA Solutions> http://www.webdnasolutions.com> WebDNA Programming and Linux Server Administration> =20>> What's the best way to make a form with 20-30 fields>> mandatory to be filled in?>> I'm using a webdna math snippet on one site ... can't>> find it for this email though... :(>> Javascript?>> Jquery?>> Stay with webdna?>> Anyone doing anything like what I need to do?>> BTW>> Happy New Year to all....JS (Javascript/JQuery) is often considered by experts to be only an =*addition*... (and should never be basic/mandatory). In the case of =form validation, that point is especially obvious, because a user could =just turn off JS to get around JS-based form validation. So why bother =with JS form-validation at all? Many don't. Not me either when I am =lazy or in a hurry (but I would never neglect server-side form =validation). But JS (client-side) form validation reduces server burden =(and saves the user time)... i.e. why wait for a full round trip, to =server and back, just find out (in the 99% of the cases where JS is not =turned off) that the user forgot to input his email address? That is =the value of JS for form validation.-Govinda=
Govinda
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:
WebCatalog and WebMerchant reviewed by InfoWorld (1997)
F*** you (1998)
redirect with frames (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
more trouble with [showif] in [search] = busted [shownext] (2000)
Country & Ship-to address & other fields ? (1997)
WebCatalog f2 Installation (1997)
SiteEdit NewFile.html ? (1997)
WebCat2 beta 11 - new prefs ... (1997)
Folder Follies (1998)
Need some assistance. (1999)
emailer don't work (1998)
Signal Raised (1997)
RE: 2nd WebCatalog2 Feature Request (1996)
converting tabs (1997)
Nested tags count question (1997)
is [Bankres] an internal webcat variable? (1999)
Writing [raw] to a file (2000)
Bill To - Ship To Information display (1997)
Error, 101 a DNS problem ? (1997)