Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a field i want to validate on blur event by custom ajax call.
On form submission, i want to add error message (if any) of my field to clientside_validation errors messages list.
How can i do this ?
Comments
Comment #1
attiks CreditAttribution: attiks commentedYou have to add a custom rule, have a look at #1281494: Extending Client side validation to build custom form validations. and #1286870: example for defining extra validation rules
Comment #2
attiks CreditAttribution: attiks commentedYou have to add a custom rule, have a look at #1281494: Extending Client side validation to build custom form validations. and #1286870: example for defining extra validation rules
Comment #3
Jelle_SI'm marking this as fixed, since we haven't heard from @MarcElbichon in a while. If not, feel free to reopen.