Custom field validation does not work as expected with 1.3.2.1
-
Hello there
Custom validation of fields with add_filter(‘caldera_forms_validate_field_text’, …) does not longer work with 1.3.2.1. It works with 1.3.1.2
e.x.
add_filter('caldera_forms_validate_field_text', 'xxx_forms_validate_field_text', 10, 3); function xxx_forms_validate_field_text($entry, $field, $form) { if ($field['slug'] == 'identifier') { $organisation = xxx_get_organisation(preg_replace('/ +/', '', $entry)); if (!is_object($organisation)) { return new WP_Error('error', 'Schulkennzahl ungültig!', 'caldera-forms'); } } return $entry; }also this method does not work with 1.3.2.1
https://calderawp.com/blog/code-snippets/custom-caldera-forms-validation-processor/
The topic ‘Custom field validation does not work as expected with 1.3.2.1’ is closed to new replies.