• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding Form Validation using Validator plugin

 
Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam using Validator plugin for validating the form details.
Here what i have observed is, it will validate all the fields and displays the result.

1.what is need is, if the first field validation fails, then further validation has to be skipped and control has to be moved to respective page

Please let me know how this can be done...

2.Here the validation is done on server side, Can any one tell me how to perform validations on the client side?

thanks in advance.

 
Leonardo Carreira
Ranch Hand
Posts: 489
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think you must to use any programming language, which "independen" and can run in client side such as Javascript...

if you just need a simple validation..
i think Javascript is enough for simple client side validation..

CMIIW.

Regards,
W
(Sorry my English isn't too good)
 
Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply.....
what about my first question?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The validator docs discuss both of these issues, I think.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic