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
7 replies
Subscribers
7 subscribers
Views
3260 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have a requirement where I need to auto select few checkboxes on a checkbox fi
bhanusreev
over 7 years ago
I have a requirement where I need to auto select few checkboxes on a checkbox field based on the selection done by user on the same checkbox field.
PFB example--
load(
local!result,
with(
a!formLayout(
firstColumnContents:{
a!checkboxField(
label:"Testing",
choiceLabels :{"All","Test1","Test2"},
choiceValues:{"All","Test1","Test2"},
value:if(rule!TipCheckIsNullV2(local!result),
{},
{local!result}),
saveInto:{local!result,
a!save(local!result,if(contains(result,"All"),{"All","Test1","Test2"},{local!result}))
},
required:true
),
a!textField(
value:local!result
)
}
)
)
)
I am using the above code to auto select both "Test1" and "Test2" if "All" is selected. Though the value is storing c...
OriginalPostID-220948
OriginalPostID-220948
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 7 years ago
@bhanusreev No problem, glad to hear that it helped you. I haven't explored much on this part, but I guess Radio Button SAIL Component also behaves in the same way.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 7 years ago
@bhanusreev No problem, glad to hear that it helped you. I haven't explored much on this part, but I guess Radio Button SAIL Component also behaves in the same way.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data