The advantage is pretty clear: you save a server connection only to
know that the field is mandatory or a date-only data
The server side validation is needed too but why not to save time,
connections and server load with a very low effort?

On 18 abr, 17:42, "Justin Perkins" <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 8:40 AM, Garito <[EMAIL PROTECTED]> wrote:
>
> >  Sorry Justin but
> >  "The InPlaceEditor is not really intended to behave like that. " is a
> >  not very realistic response. I think the validation is a so normal
>
> Validation on the server is normal, but imo validation on the client
> should not be relied upon. It is up to you to decide if yo want to do
> it, but it will require overriding the default behavior in IPE.
>
> If you look at the source code for the IPE, you can see that it was
> never intended to perform client-side validation.
>
> Since it's an Ajax form submission, what is the advantage of
> client-side validation?
>
> -justin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to