+1 for considering client-side form validation. Why make a round trip just
to check if someone's email is malformed?

Doing both would be best. Client-side validation is useful to reduce server
loads, IMHO.

- Didip -

On Wed, Jun 23, 2010 at 7:45 AM, [email protected] <
[email protected]> wrote:

> +1 for leaning on the client for validation - I think this has been
> over-stigmatized by people building public websites.  Why do private
> LAN-apps have to be bound by the fear of client-side manipulation, JS
> dialects, and (my favorite) "some people turn off JavaScript"?
>
> On Jun 23, 3:24 am, Marius Gedminas <[email protected]> wrote:
> > On Wed, Jun 23, 2010 at 12:06:16AM -0700, cropr wrote:
> > > I am validating the forms as much as possible in javascript at the
> > > client side.  This reduces the load on the server and the user
> > > experience is enhanced.
> > > For the same reason I am using as much as possible Ajax calls iso a
> > > form submit, to send the prevalidated form fields to the server.
> > > Because the fields are prevalidated, it is very easy storing the
> > > result in a model instance.
> >
> > I hope you've considered the risks of client-side form validation.
> >
> > Marius Gedminas
> > --
> > The day after tomorrow is the third day of the rest of your life.
> >
> >  signature.asc
> > < 1KViewDownload
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<pylons-discuss%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to