guillaumepotier / Parsley.js

Validate your forms, frontend, without writing a single line of javascript

Home Page:http://parsleyjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compare to values in two separate select dropdowns

drkrtj opened this issue · comments

commented

I am not sure if this is possible with parsley. I have spent several hours researching and trying to make this work. I need to compare two select dropdown values. The first is a 'from' age and the second is a 'to' age. As you would expect the 'from' needs to be less than or equal to the 'to' age. I have the data-parsley-lte="#fromage" in the 'to' age select tag. It does not appear to be functioning. Before I spend anymore time on this can you let me know if this is possible with parsley? Thanks in advance.