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.
Problem/Motivation
Currently the phone number validation runs on every keystroke.
The validation is quite expensive as it involves a ajax call.
This can render the input field or the form unresponsive.
Proposed resolution
Use the same approach as the drupalURL
validator and validate just on blur.
Remaining tasks
Reviews needed.
User interface changes
None.
API changes
None.
Comment | File | Size | Author |
---|---|---|---|
clientside_validation.limit-phone-validation-trigger.patch | 834 bytes | das-peter | |