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.
By jesterFortyEight on
I have implemented the repeating field code as provided in the example
https://api.drupal.org/api/examples/ajax_example!ajax_example_graceful_d...
the form is validating; how do in prevent this on the add/remove process?
the only process i see being called in the callback function
https://api.drupal.org/api/examples/ajax_example!ajax_example_graceful_d...
Comments
You can use #limit_validation
You can use #limit_validation_errors on the ajax buttons.
thanks - working now.
thanks - working now.