Can you set required as remote?
 
For example I have a year field where the server validates the rules, 4
numeric characters, required.
 
But rather then having to put the rules for every field in the js required:
true, number: true, maxlength 4, minlength:4 that are duplicates the the
server validation I was hoping there was away to simply use remote for the
fields.

I tried using just remote but user enter abc into the year field its valid
when I submit the form, then the server says no its not valid after the form
is submitted. At this point the user has been directed with a successful
save message even though nothing saved.

So basically is there a way to set it up so every field I need checked is
set to required but it checks the server for the actual validation rules?

Thanks,
 
Dave

Reply via email to