You all might get tired of me soon, but this module is very useful for what I'm trying to get done :) I'm still trying to figure out how to create a patch within the module directory - I promise I'm in the directory (clientside_validation_fapi) when I git diff > mypatch.patch but it still comes with '/sites/all/modules/...'. I'll work on figuring that out.
Thanks for adding support for 'match_field' in the dev version. It seems one small thing was left out:
In
case 'fapi_validation_rule_match_field';
_clientside_validation_set_equal($name, $title, $params[0], $js_rules, $message);
break;the $message argument was not being passed (it was just $name, $title, $params[0], $js_rules); This meant that, although the '#rules' array is being handled correctly in clientside_validation_fapi_regular(), it was for for naught in regards to match_field.
Please see the attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| cv_fapi_messages_for_match_field.patch | 1 KB | chrisrockwell |
Comments
Comment #1
chrisrockwell commentedComment #2
jelle_sFixed in the latest dev version. Thanks for the patch!