I have installed the Field Validation module. Clientside Validation is working for Numeric values. However, it is not working for Must match another field. After I submit or preview the node, the Field Validation module kicks in, so it is working for that module by itself. Both "must equal an other field" and "can not equal an other field" are listed as supported. Is there another way to get validation for those options, because it doesn't seem to be working in tandem with Field Validation module?

Comments

jelle_s’s picture

Both "must equal an other field" and "can not equal an other field" are listed as supported

These validations are indeed supported for the Webform Validation module. In this module this rule regards two fields on the same page, which we can easily check with javascript.

In the Field Validation module however, this is regarding fields within the database. That's why it isn't supported by the Clientside Validation module.

See also #1494974: Unique validation

Coupon Code Swap’s picture

I see. So technically, the Clientside Validation Field Validation submodule doesn't do AJAX validation. Are there any plans to implement this in the future?

attiks’s picture

Status: Active » Closed (duplicate)

Clientside validation supports ajax based validation rules, the only thing that has to be done is to write the code to integrate it.

See #1494974-3: Unique validation

Marking this one as duplicate, discuss possible code/solution in #1494974: Unique validation