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
3 replies
Subscribers
7 subscribers
Views
2185 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hello all, quick question.. Why can the validationGroup parameter be
pauln
over 10 years ago
Hello all, quick question..
Why can the validationGroup parameter be set as an array if set up as {"VG1 VG2 VG3 VG4"} instead of {"VG1", "VG2", "VG3", "VG4"}
I attached a sample interface of this working
SampleForm.txt
OriginalPostID-177095
OriginalPostID-177095
Discussion posts and replies are publicly visible
Parents
0
GouthamKrishna
over 10 years ago
Hi, are you trying to validate "Field Common" text component upon clicking each of the submit buttons available on form ? If so, try changing that text field's validationGroup dynamically based on which button is hit. For example, if user clicks on "Submit#2" then programmatically change text field's VG to "VG2" at run-time(ex code: if(local!formAction="Submit#2", "VG2", "")). But if you specify VG as {"VG1 VG2 VG3 VG4"}, I doubt that it will become as a new kind of validation group that is not being shared by any of the other components(including buttons) on your from there by wont satisfy your requirement.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
GouthamKrishna
over 10 years ago
Hi, are you trying to validate "Field Common" text component upon clicking each of the submit buttons available on form ? If so, try changing that text field's validationGroup dynamically based on which button is hit. For example, if user clicks on "Submit#2" then programmatically change text field's VG to "VG2" at run-time(ex code: if(local!formAction="Submit#2", "VG2", "")). But if you specify VG as {"VG1 VG2 VG3 VG4"}, I doubt that it will become as a new kind of validation group that is not being shared by any of the other components(including buttons) on your from there by wont satisfy your requirement.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data