Client Side Validation gem - adding custom validator for select

12 views
Skip to first unread message

Mayur Khatri

unread,
Jul 10, 2014, 7:33:10 AM7/10/14
to rubyonra...@googlegroups.com
Dear All,

I have two select tags.
Start time and end time select tag.
I am using client side validation gem in the form.
I need to check if the start time select tag has value less than the end time select tag, using a custom validator.

Is there a way to achieve this in the client_side_validation gem.
Or is there any other better way to do it.
I need error message just like the client side validation gem.
Reply all
Reply to author
Forward
0 new messages