AEM 6.5.19 with AEM Forms installed.
Does script validation run for the File Attachment core component or is it just broken in AEM Forms? The mandatory validation works when I check Required. However, when I create a simple Validate rule in the code editor (see attached screenshot) that includes...
console.log('File attachment validate running');
false;
...and then submit the form, I never see the specified string in the javascript console. The red validation error doesn't show up on the field either.
Script validation runs on text fields just fine. I have the same Validate rule configured on a text field and I see the message in the console when I submit the form as well as the red validation error.