Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hello everyone! Good morning! I’m facing a challenge with a form that contains several tabs, each with the same fields, but filled with different data.
The issue is that, when the user clicks the Submit button, Appian only validates the required fields in the active tab. This impacts our business logic because we need to ensure that all required fields in all tabs are completed before submission.
Goal: Validate all required fields, regardless of which tab is active, when the user clicks Submit.
Question: Has anyone encountered a similar situation or have any suggestions on how we can achieve this?
I’ll attach an image showing part of the form for additional context.Thank you in advance for your help!
Discussion posts and replies are publicly visible
An additional and often-overlooked tool for this sort of general use case is form-level and section-level validations using a!validationMessage(), with the "validateAfter" parameter set to "SUBMIT".
Say you have 3 sections and you want to validate the contents of sections 1 and 2 only when the user attempts to click "SUBMIT" in Section 3; in this case you would need to manually maintain local variables tracking the validation of sections 1 and 2, and if any of them are not in a passing state upon trying to click submit in section 3, you would display your validationMessage (in whatever appropriate location you deem necessary), explaining that the user needs to review the items on section 1 and/or 2 as necessary.