This is a very big difference with Field Validation 2.x in that it uses cTools to handle storing and exporting rules. Right now, Clientside Validation lets you enable support for Field Validation and errors out.

Comments

attiks’s picture

Jelle_S added this today to make sure you're using Field Validation 1.x, for the moment we don't support Field Validation 2.x

pianomansam’s picture

Thanks attiks! Any chance this could be added to the project page so no one repeats my mistake in trying to thinking it will work with Field Validation 2.x?

attiks’s picture

Project page updated

attiks’s picture

Assigned: Unassigned » jelle_s
jelle_s’s picture

Status: Active » Fixed

Added to the dev version. Right now both Field Validation 1.x and 2.x are supported. 1.x will probably get deprecated somewhere in the future, but not for now.

g089h515r806’s picture

Jelle_S,
Maybe there is a bug in your dev code:

$rule['settings']['min'] = isset($rule['settings']['min']) ? '' : $rule['settings']['min'];

need change them to:
$rule['settings']['min'] = isset($rule['settings']['min']) ? $rule['settings']['min'] : '';

attiks’s picture

Category: feature » bug
Status: Fixed » Active
jelle_s’s picture

Version: 7.x-1.31 » 7.x-1.x-dev
Status: Active » Fixed

Oops, sorry, you're right, fixed in dev

Status: Fixed » Closed (fixed)

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