I want to perform this validation after clicking on submit button.
Discussion posts and replies are publicly visible
There are many examples in the documentation:
https://docs.appian.com/suite/help/22.3/File_Upload_Component.html#file-upload-with-multiple-files
Hi , I already added the validation as like document but I want to show the validation message through submit button.
Can I set the validation condition on submit button?
primaryButtons: { a!buttonWidget( label: "Submit", submit: true, style: "PRIMARY", loadingIndicator: true, validate: { } ) },
What do you mean with "validation message through submit button"?
And no, the file validation only works inside the file upload field. There are some unsupported dirty hacks to do this in a different way, but I do NOT recommend this.
Okay