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
5 replies
Subscribers
6 subscribers
Views
2322 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi, I need to display a checkbox component with 4 choices but 2 not selectable b
saram
over 11 years ago
Hi, I need to display a checkbox component with 4 choices but 2 not selectable by the user in some cases (I need to display not selectable ones to show to the users all the alternatives).
For ex. if my pv!selectable is "Yes" all the buttons could be checkable, if it's "No" only the first 2 on 4.
How can I reach that? Thanks...
OriginalPostID-99270
OriginalPostID-99270
Discussion posts and replies are publicly visible
Parents
0
Chris
over 11 years ago
In my forms I accomplish this by running an onClick() JavaScript function that checks which values are selected against which can be selected (using a hidden field on the form - hidden by JS onLoad(), to keep track of allowable fields). The JS function can then alert the user when they select a blocked field, and then remove the selection. This does not grey out the fields that are unallowable, but they get the idea pretty quick. This also works great for requirements such as "show 10, allow up to 3 choices".
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Chris
over 11 years ago
In my forms I accomplish this by running an onClick() JavaScript function that checks which values are selected against which can be selected (using a hidden field on the form - hidden by JS onLoad(), to keep track of allowable fields). The JS function can then alert the user when they select a blocked field, and then remove the selection. This does not grey out the fields that are unallowable, but they get the idea pretty quick. This also works great for requirements such as "show 10, allow up to 3 choices".
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data