Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
8 subscribers
Views
1956 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I have a Process StartForm with a mandatory field. By default, the validation is
senthilar
over 11 years ago
I have a Process StartForm with a mandatory field. By default, the validation is happening for both Submit and Cancel buttons I have on the form. How do I skip validation when Cancel is pressed? Thank you in advance!...
OriginalPostID-97420
OriginalPostID-97420
Discussion posts and replies are publicly visible
0
Christine
Appian Employee
over 11 years ago
What version are you on? In 7.4, if this is a SAIL form you can achieve this. Check out the SAIL recipes in documentation.
Other points, if a start form, you don't need a cancel, as the user can navigate away without starting process. Non-SAIL form, you will need to not mark as required and check using gateway if value entered and submit clicked.
Hope that helps!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
pradeepd780
over 11 years ago
You can do 1 thing to handle this: Do not make that field required but just put an asterik on Field label. And on Submit button, check if that field's value is null than divert the flow to the form and enable show an Error message through enabling a boolean variable. In this way you can skip the validation on Cancel button.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
moritzw
over 11 years ago
you can use advanced form utilities to do this.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
manikantap
over 11 years ago
if you are using sail forms for this. add "skipValidation=true" to the button compoonent
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel