0

Create a checkbox type field with multiple values.

In my Thank you java script code , I am trying to access all the checkbox values that user selected.

code

var prod = "%%checkbox_Field_Name%%";
alert(prod)

If users selects multiple checkboxes , the alert is showing only the last checkbox value. i.e. if user select A, C, B out of A,B,C and D. The alert is showing only B. enter image description here

Any thoughts?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.