PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Pass Check boxes to Query String

  1. stranflow
    Member

    Hello There,

    i have a problem to chose the checkboxes field to pass it to a confirmation using query string ,
    i can't select the chekboxes from the drop down menu insert field because its act as single checkbox , so i can chose a single checkbox from the menu but i can't check the block
    how can i chose the parameter of all the checkboxes to pass a multiple parameter ?

    Posted 13 years ago on Wednesday May 18, 2011 | Permalink
  2. Checkboxes are individual fields. Checkboxes are probably one of the most complex fields in Gravity Forms due to the fact they are used like Drop Downs and Radio Buttons but unlike Drop Downs and Radio Buttons they actually consist of multiple fields and not a single field. Each checkbox item is an individual input, so it acts as an individual field. They are just displayed together.

    What are you trying to accomplish? What would you want the merge code to output if we added one for the Checkbox group? A comma delimited list of the checkbox values that were selected?

    Posted 13 years ago on Wednesday May 18, 2011 | Permalink
  3. stranflow
    Member

    Hello carl i know that checkboxes act as a single input
    but i need them to act as multiple checkboxes
    and to pass the parameter throw one value to query string !

    Posted 13 years ago on Wednesday May 18, 2011 | Permalink
  4. That isn't how the checkboxes work right now, they act as individual inputs which is what they are on the form. So it isn't currently possible.

    However, we are going to add this capability in the 1.5.3 release so that you can select them as a group and pass them all at once as a comma delimited list of what was selected.

    Posted 13 years ago on Wednesday May 18, 2011 | Permalink
  5. stranflow
    Member

    mmm isn't there anyway to make some hidden field to act as multi checkboxes ?

    Posted 13 years ago on Wednesday May 18, 2011 | Permalink
  6. I'm not sure what you are referring to. Hidden fields are single value fields, so they don't store multiple values. We are going to go ahead and add the ability to do what you describe in the 1.5.3 release. We will be adding a merge code for the entire Checkbox field which will let you select it and it will output a comma delimited list of the values selected.

    Posted 13 years ago on Thursday May 19, 2011 | Permalink

This topic has been resolved and has been closed to new replies.