Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 08:18 AM
Hello. We have a catalog item for users to request access using checkbox variables. The user can select one checkbox or multiple.
The requirement is to send the label/name of the selected checkboxes in a comma separated string in an existing REST API.
My challenge is around arrays. How do I loop through the checkboxes that were selected to create a single comma separated list?
Example 1: Both checkboxes were selected, the string value should be "AuditBoard,BOX"
Example 2: One checkbox was selected, the string value should be "BOX"
Thank you for your help.
Solved! Go to Solution.