Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

ACS LP Acquisition Form - Checklist input with multiple selections (check all that apply) - Concatenating selections into one field

Avatar

Level 2

Good afternoon! 

 

I am working to build a form where 1 questions is prompting the visitor to check all that apply. 

 

E.g. What food interests do you have? (check all that apply)

■ Pizza

■ Burger

■ Donut

 

If someone were to select all three, and the "name" of the checkbox were to be "name = foodinterest" then the output would read - 

"foodinterest=Pizza&foodinterest=Burger&foodinterest=Donut"

 

The challenge I've run into is that when I select multiple boxes, only the final input is being stored, rather than a string of all responses combined. 

 

Any insight on how to accomplish this in ACS? 

1 Reply

Avatar

Employee Advisor

ACS can't easily store checkbox values inside a text.

 

Possible ways:

* Create 1 field on the profile per checkbox (if some aggregation is needed, run a workflow to process it)

* Use some JavaScript to "combine" the checkbox values before they are sent to ACS