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
2867 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
How to create an exit button on a form with some field mark as required ?...
yati.rohmat
over 10 years ago
How to create an exit button on a form with some field mark as required ?...
OriginalPostID-105055
OriginalPostID-105055
Discussion posts and replies are publicly visible
0
hemalathat
A Score Level 1
over 10 years ago
Hi,
If you are using Appian 7.4, you can have the cancel button for skipping required field validation.
You can refer this link,
forum.appian.com/.../SAIL_Recipes
If you are in any other version, you can achieve this in 2 ways:
1) In Form, Instead of having Required field, do the required field validation in a gateway after form submission and redirect to the same form.
2) You can use Java script for this validation in the form. But it is not supported in Mobile enabled Forms.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
yati.rohmat
over 10 years ago
I am using version 7.2
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Angad Walia
Appian Employee
over 10 years ago
Unfortunately on 7.2 the required fields will prevent the forms from submitting.
The practice for handling this use case without dynamic SAIL is to make the fields NOT required so that the cancel button functions. Then after submitting the form there would be a loop to check if the fields had been given values. If they had not, the user would be looped back in to the form via an XOR gateway
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
yati.rohmat
over 10 years ago
I've managed to resolved this by using the field validation at 'submit' event. Thank hemalathat and Angad Walia
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel