I'm trying to create a "teaser" form in Sprout Forms.

First form has radio buttons and a group of checkboxes, and it's easy to pass the radio value (via redirect), but I'm not finding the documentation on how to pass checkbox fields as URL params.

Redirect: /contact/?radio_button={radio_value}&checkbox={fields-goals-1}

The second form will accept those params and ask for contact information.

Anyone got an example of how this?

Screen shot of checkbox options

1 Answer 1


There are a few possible ways to do this right now (Sprout Forms v2.3.4), all likely with a few trade-offs. We do have this situation on our radar to improve on in the future.

  1. You could consider updating how you are storing those checkbox fields to use one or multiple Sprout Fields Hidden Fields. With this method, the first page with your initial options doesn't need to be a part of the Form and you could dynamically populate the hidden field with the value of whatever is selected. The trade-off here may be in how you wish to create reporting around your data, and whether this format makes that easier or harder.

  2. You could manage a multi-page form using a Javascript library on the front-end (something like parsley.js). The trade-off here is that you have to add a javascript library to your setup, if you don't already need it for other things. We do have multi-page form support on our list.

  3. You can also do this by building your Form using Custom HTML. The trade-off here is that things become harder to maintain for a fairly small item.

  4. It might be possible to use Template Overrides and modify how the "value" parameter gets processed to make the value variable for your checkbox field use the initially selected items. I expect this path would get tricky. The template you'd probably want start with when overriding things is the field.html template and the line that sets the value: {%- set value = ... %}.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.