Hi,

The AJAX "add more" example does not work if there are incomplete required fields in the form. Can it be rewritten without this limitation?

I think what most people have in mind, for the add_more example is get the multiple value form from field_form. Granted, that's more complex, but it's probably the end goal. It works with incomplete required values.

Thanks, these examples really do help and are a great asset to Drupal.

Comments

rfay’s picture

Sounds like we need to add a #limit_validation_errors in there or something...

nagiek’s picture

Good suggestion. I didn't even know that property existed!

mile23’s picture

Status: Active » Postponed (maintainer needs more info)

Looking for this error but I can't find it. Does it still exist?

jungle’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)

I am closing this to clean up the issue queue after 10 years. Feel free to reopen it if necessary.

Thanks!