Hello!
Downloaded this module this afternoon to solve a specific use case, and discovered that the validator I needed ("unique") only works for "textfield" and "email" fields (per lines 62-69 of webform_validation.validators.inc).
Could this be extended to support "select" fields as well? My use case is pretty simple, and probably fairly common: the user wants to set up a series of items to rank from 1-5, and each item in the series should have a unique ranking.
Seems like it'd be very easy to add this functionality (just one additional element in the config array), which makes me think you might have a good reason not to? If not, could you please add it in the next release?
Thanks!
Adam
Comments
Comment #1
svendecabooterThis should indeed be easy for select form elements that don't have the "Multiple" property set.
However in case a select element can have multiple items selected, things are getting a bit tricky.
I'll have to figure out how to deal with that properly. There have been other requests for better 'select' form component support. I'm going to look into that and try to incorporate this request while on it.
Comment #2
svendecabooterThis feature has been added to HEAD.
I'll create a new release of the module soon.