ACS LP Acquisition Form - Checklist input with multiple selections (check all that apply) - Concatenating selections into one field | Community
Skip to main content
Level 3
September 22, 2022
Solved

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

  • September 22, 2022
  • 1 reply
  • 627 views

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? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by bisswang

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

1 reply

bisswangAdobe EmployeeAccepted solution
Adobe Employee
September 23, 2022

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