Re: Best solution to tedious form validation?




<otrWalter@xxxxxxxxx> wrote in message
news:1193666566.938124.262280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
First step: Client side validation

Second Step: Server side validation

Can't help you with the second (I'm working on it!)

But on the first... How about just added 2 JS INCLUDE calls to your
page and then adding a pair of custom HTML tags to each Form Object
you want to have validated...

<input type="text"
id="first_name"
name="first_name"
type="alpha" <- new attribute
required="true" <- new attribute
value="">

Would that help?

Walter

In your suggestion you have type="text" and type="alpha" in the same input
tag.

Shelly


.



Relevant Pages

  • Re: Best solution to tedious form validation?
    ... First step: Client side validation ... Second Step: Server side validation ... page and then adding a pair of custom HTML tags to each Form Object ...
    (comp.lang.php)
  • Re: OpenQM doco in Wiki
    ... By validation I assume that you mean whether or not a field entry is ... Ka band satellite - The Server is here and there is latency. ... business rules being on the client. ... As for the wider internet ie those ...
    (comp.databases.pick)
  • Re: eap-tls and peap-tls
    ... server is doing the internal validation. ... > "configure" option of the authentication method which is selected from ... > machine and user certificates (using peap-tls) does the IAS server ...
    (microsoft.public.internet.radius)
  • Re: OpenQM doco in Wiki
    ... burp because the server has been updated while the client was "away". ... Ka band satellite - The Server is here and there is latency. ... validation when the remote computer first connects. ... As for the wider internet ie those ...
    (comp.databases.pick)
  • Re: Help on validation process?
    ... Justin Gengo" wrote: ... >> Does this ASP cross check validation on client and server side can prevent ... >>> order to save a trip to the server. ...
    (microsoft.public.dotnet.framework.aspnet)