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.

Comments

chrisrockwell’s picture

Issue summary: View changes
jelle_s’s picture

Status: Needs review » Fixed

Fixed in the latest dev version. Thanks for the patch!

  • Jelle_S committed 702e839 on 7.x-1.x authored by chrisrockwell
    Issue #2140163 by chrisrockwell: Fixed Custom messages are not passed...

  • Jelle_S committed 702e839 on 7.x-2.x authored by chrisrockwell
    Issue #2140163 by chrisrockwell: Fixed Custom messages are not passed...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.