Re: [WebDNA] making all fields on a form mandatory

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110067
interpreted = N
texte = --0023541882080d167a04d24f0d72 Content-Type: text/plain; charset=UTF-8 Rich, Hi - use Jquery validate for the client side: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ set it up and then add "class=required" to all required fields in the form. Then use WebDNA for the server side, something like this: [!] ------------------------------------ ### Server side check for required fields - check not empty ### [/!][text]requiredfields=FIELD1,FIELD2,FIELD3,FIELD4,FIELD5,FIELD6[/text][!] [/!][listwords words=[requiredfields]&delimiters=,][!] [/!][showif [url][interpret][[word]][/interpret][/url]=][!] [/!][text multi=t]validform=F&valid[word]=F[/text][!] [/!][/showif][!] [/!][/listwords] Take care - Tom --0023541882080d167a04d24f0d72 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Rich,

Hi - use Jquery validate fo= r the client side:

=C2=A0 =C2=A0=C2=A0= = http://bassistance.de/jquery-plugins/jquery-plugin-validation/

set it up and then add "class=3Drequir= ed" to all required fields in the form. =C2=A0 =C2=A0Then use WebDNA f= or the server side, something like this:


[!]


------------------------------------
### =C2=A0Server= side check for required fields - check not empty =C2=A0###

[/!][text]requiredfields=3DFIELD1,FIELD2,FIELD3,FIELD4,= FIELD5,FIELD6[/text][!]

[/!][listwords words=3D[re= quiredfields]&delimiters=3D,][!]
[/!][showif [url][interpret][[word]][/interpret][/ur= l]=3D][!]
[/!][text multi=3D= t]validform=3DF&valid[word]=3DF[/text][!]
[/!][/showif][!]
[/!][/listwords]=



Tak= e care
- Tom


--0023541882080d167a04d24f0d72-- Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] making all fields on a form mandatory ("Terry Nair" 2013)
  2. Re: [WebDNA] making all fields on a form mandatory (Govinda 2013)
  3. Re: [WebDNA] making all fields on a form mandatory ("Terry Wilson" 2013)
  4. Re: [WebDNA] making all fields on a form mandatory (WebDNA Solutions 2013)
  5. Re: [WebDNA] making all fields on a form mandatory (Tom Duke 2013)
  6. [WebDNA] making all fields on a form mandatory (Rich Kwas 2013)
--0023541882080d167a04d24f0d72 Content-Type: text/plain; charset=UTF-8 Rich, Hi - use Jquery validate for the client side: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ set it up and then add "class=required" to all required fields in the form. Then use WebDNA for the server side, something like this: [!] ------------------------------------ ### Server side check for required fields - check not empty ### [/!][text]requiredfields=FIELD1,FIELD2,FIELD3,FIELD4,FIELD5,FIELD6[/text][!] [/!][listwords words=[requiredfields]&delimiters=,][!] [/!][showif [url][interpret][[word]][/interpret][/url]=][!] [/!][text multi=t]validform=F&valid[word]=F[/text][!] [/!][/showif][!] [/!][/listwords] Take care - Tom --0023541882080d167a04d24f0d72 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Rich,

Hi - use Jquery validate fo= r the client side:

=C2=A0 =C2=A0=C2=A0= = http://bassistance.de/jquery-plugins/jquery-plugin-validation/

set it up and then add "class=3Drequir= ed" to all required fields in the form. =C2=A0 =C2=A0Then use WebDNA f= or the server side, something like this:




------------------------------------
### =C2=A0Server= side check for required fields - check not empty =C2=A0###

[/!][text]requiredfields=3DFIELD1,FIELD2,FIELD3,FIELD4,= FIELD5,FIELD6[/text][!]

[/!][listwords words=3D[re= quiredfields]&delimiters=3D,][!]
[/!][showif [url][interpret][[word]][/interpret][/ur= l]=3D][!]
[/!][text multi=3D= t]validform=3DF&valid[word]=3DF[/text][!]
[/!][/showif][!]
[/!][/listwords]=



Tak= e care
- Tom


--0023541882080d167a04d24f0d72-- Tom Duke

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:

Browser frames and URLs in the Location field (2004) Quick ShowIf question (1997) Bug Report, maybe (1997) [tcpsend] (2001) [WebDNA] smallest amount on code to convert 1 character? (2018) Emailer update for Mac? (1998) [append] (1997) How true is this? (1999) Upgrading old WebCat Database Files (1997) Image editing in browser (2005) Arbitrary limits on length of data in cart header fields? (2000) access denied problem (1997) can we get string variables? (1998) Append File help needed (2000) Db crash in win98 (2000) Secure Server (1999) bug report -- leading < character (1998) [OT] was WebDNA on a Raq4i (2003) ISAPI Filter (2002) [WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009)