Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Verified Answer
+2
person also asked this
people also asked this
Replies
3 replies
Subscribers
7 subscribers
Views
5141 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Form validation
Will Teoh
over 8 years ago
Hi,
Can I know if it is possible to validate a SAIL form based on the button pressed? The example from SAIL recipe in the documentation, only have an example for 2 buttons using boolean.
Can I do something like for button A, B & C. with value A: 1, B: 2, C: 3. depending on the value, validate accordingly:
If buttonValue = 1, then validate this...
If buttonValue = 2, then validate this...
If buttonValue = 3, then validate this...
else validate that.
Thanks in advance!
OriginalPostID-253442
Discussion posts and replies are publicly visible
Parents
0
Venu
over 8 years ago
@willt
in buttonWidgetSubmit you can use validationGroup property and set the same validationGroup property for relevant fields. when you click on buttons the same validation group fields will be validated
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Venu
over 8 years ago
@willt
in buttonWidgetSubmit you can use validationGroup property and set the same validationGroup property for relevant fields. when you click on buttons the same validation group fields will be validated
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data