Started with developer friendly code. Blockers:
Drupal FAPI now supports part...

Contribution Date
Technology
Contribution Project
Contribution Details

Started with developer friendly code. Blockers:

  • Drupal FAPI now supports partial fields validation based on limit_validation_errors, this will require lot of work in front end
  • We definitely don't want to trigger validation before AJAX calls done on specific fields, we will need to find a way to understand which one is actually doing form submit (most of the time #ajax is directly added to submit button)
  • We will also need to add code for multi-step forms or form fields in multiple field-sets / tabs which are hidden

Current code allows developers to trigger validation for specific cases. We need to have cv-validate-before-ajax class on the element in which AJAX is triggered and it only supports validating full form as of now.

Issue Status
Active
Contribution Author
Files count
1
Patches count
1