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.
There are two button in my form, one is submit another is cancel. I have many validations in my form, but I notice that, the validations are applied to both buttons. I've also tried the validation group, but the behavior is after I click the button the validation will take effect.What I expect is that the verification will be performed after the user has entered the content, and it will only take effect on the submit button. Is this possible in Appian? If the validation group is the only way I can achieve, Is it possible to disable the submit button after the validation triggered?
Discussion posts and replies are publicly visible
Peon said:the validations are applied to both buttons
you might have validate set to true for Cancel button also. You should turn it to false.
Peon said:Is this possible in Appian?
Yes it is! To achieve this set a validation group in the submit button widget e.g. “submitValidate” . Next add the same validation group in all the fields you want to validate after submit button click. Like if you have a textfield it should have validation group set with same value “submitValidate”.
Peon said:If the validation group is the only way I can achieve, Is it possible to disable the submit button after the validation triggered?
No its not! And if you are validating your form on this button click it should be enabled as well so that users clicks on it and validations are performed.
Thanks