Form level validation is not triggering on Submit

I am working on a form which has a form level validation which is configured to execute on Submit (using a!validationMessage(,validateAfter:"SUBMIT")). This validation is working fine when I am testing the interface. But when the interface is integrated to the process, validation doesn't trigger and form gets submitted without executing the validation.
Is there anything else that I should configure to make sure that validation gets executed before the submission of form?

OriginalPostID-245177

  Discussion posts and replies are publicly visible

Parents
  • @rishirajk I believe it might be tough to address the issue without having a look at the configuration of the Button components in the code. If possible, I would suggest uploading the part of the code snippet that consists of Button Widgets. Further, I would suggest giving thoughts over following:
    1. Are you using the validationGroup? If so, does the formLayout and buttonWidget/buttonWidgetSubmit has the same?
    2. Did you explicitly or implicitly(because of the default values associated with the parameters of Button component) configure the butonWidget or buttonWidgetSubmit so that it bypasses the validation?
    3. If everything looks good from configuration perspective, have you had a chance to look at hotfixes documentation corresponding to the Appian version you are working on?
Reply
  • @rishirajk I believe it might be tough to address the issue without having a look at the configuration of the Button components in the code. If possible, I would suggest uploading the part of the code snippet that consists of Button Widgets. Further, I would suggest giving thoughts over following:
    1. Are you using the validationGroup? If so, does the formLayout and buttonWidget/buttonWidgetSubmit has the same?
    2. Did you explicitly or implicitly(because of the default values associated with the parameters of Button component) configure the butonWidget or buttonWidgetSubmit so that it bypasses the validation?
    3. If everything looks good from configuration perspective, have you had a chance to look at hotfixes documentation corresponding to the Appian version you are working on?
Children
No Data