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
2 replies
Subscribers
8 subscribers
Views
1351 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I have configured a checkbox field with an "Other" field. For example
mikec
over 10 years ago
I have configured a checkbox field with an "Other" field. For example: checkbox1, checkbox2, checkbox3, checkboxother. When selecting Other it exposes a text field for the user to input "other" text. I save this off into a pv!otherservices. When I go to display these fields in a Record the other value is exposed. For example: checkbox1= service 1 and checkboxother are checked and the other service is service X. So in my record it looks like this: Services: service 1; other; service X.
I want to write a check in the record something like this: if(contains(pv!services, "other"), remove("other),{}). Looking at the documentation the Remove function looks for an index to locate the value to be removed. I don't know that index because it varies dependent on the number of checkboxes checked.
So how do I check and remove for "other" value?
OriginalPostID-139318
OriginalPostID-139318
Discussion posts and replies are publicly visible
Parents
0
Josh
Certified Lead Developer
over 10 years ago
you can do something like remove(array, wherecontains(valueToFind, array))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Josh
Certified Lead Developer
over 10 years ago
you can do something like remove(array, wherecontains(valueToFind, array))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data