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
7 subscribers
Views
1535 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Wanted to know if anyone has solved this. I make a field required in a form; th
mikec
over 10 years ago
Wanted to know if anyone has solved this. I make a field required in a form; then as a user i get in the form and want to get out without doing anything so i hit Cancel. The form will not close as it needs the required field to be filled in. Given this issue i cannot leverage the function of making some fields required and some not. It is an either all required or none required option. Anyone find a work around or how to solve this problem?...
OriginalPostID-76102
OriginalPostID-76102
Discussion posts and replies are publicly visible
0
akhilan
over 10 years ago
Mike, currently, there no out of the box functionality to support this. You can make the field not required on the form and perform the validation after the form is submitted and reroute to the form if the validation fails. Another post on this -
forum.appian.com/.../
The other way of doing this would be using JavaScript, but that means your form cannot be mobile enabled.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
I also suggest using post-form validation, which loops back to the same form seamlessly if validation fails (and you can check for specific button-clicks pretty easily). Create a section at the top with a header of "error on form" or similar, which only shows up if validation failed, then individual read-only text fields in that section which only show up if their particular validation was caught.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mikec
over 10 years ago
Great, thanks guys. I will give it try.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
moritzw
over 10 years ago
You can also use advanced form utility if mobility is no concern.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel