- Issue created by @bdawg8569
I have some custom validation handlers for the media library form. I am using this module as well. The validation handlers still work, but the form when loaded in the modal window doesn't actually show errors in the form. The messages are printed at the top, however, if you are using Inline form Errors, the message at the top of the screen isn't always descriptive enough. If you have added many fields to the form, the user is left to kind of figure out the issues on their own.
This what I see at the top of the form when I have an error regardless of whether its the standard media edit form, or the modal version of the form loaded via this module.
However, the error on the widget of the form only displays when I am using the standard form, which should look like this.
Other ajax forms seem to have this line of code when errors are detected
$response->addCommand(new ReplaceCommand('form', $form));
Active
3.0
Code