How do I prepopulate checkbox with image choices from another form?

  • Profile Image
    Asked on November 05, 2016 at 04:38 PM

    I am trying to prepopulate this form:

    with choices made in this form:


    I am mainly trying to carry over the checkbox choices, e.g. if they choose the first image in the first form, the first image will also be chosen in the second form.


    Is that possible?

    I used this URL as the submission "thank you" for the first form:{input15}&input16={input15} etc., etc., but that transfers the image html instead of the fact that that option is "true" or "false"


  • Profile Image
    Answered on November 06, 2016 at 04:50 AM

    The only way I see to populate Image checkboxes with URL is to use something like this:[0]=true

    In brackets is zero, meaning it is the first option, for second, third etc, you will use 1, 2, 3.

    And set true and false if you want to check/uncheck them.

    Hope this helps.

    If you have further questions please let us know.

    Thank you!

  • Profile Image
    Answered on November 08, 2016 at 08:17 AM

    Thanks for your answer, but it doesn't address my question. I need the url to be generated from answers to this form: (The user will be redirected to the big form after they submit.)

    So I need a way to convey true/false from the checkbox fields in that form to this form:


  • Profile Image
    Answered on November 08, 2016 at 11:09 AM

    You are using HTML image code in your checkbox options so it is impossible to achieve that using the field variable e.g. {input15} because this will output the HTML code. There's a higher chance that the HTML code value would break the URL.

    However, what my colleague has suggested should work but it would require conditions to achieve it.

    Here's how:

    1. Assign a textbox field per checkbox field in your form. If you have 5 checkbox fields, add the same amount of textboxes into your form.

    You can use the price as the textbox labels so it is easy to use them in the conditions later on.

    Example: For the first two checkbox fields

    You can also hide them (right click the field > hide field) so it is not seen on the live form

    2. Create an update/calculate condition like the following.

    If Checkbox1 is filled, insert 1 into the Textbox1

    If Checkbox2 is filled, insert 1 into the Textbox2

    If Checkbox3 is filled, insert 1 into the Textbox3

    Basically, you just need to insert 1 value on its associated textbox field. 1 means true in the checkbox parameter.

    You can repeat the same condition on the matching fields.


    3. After that, in your prepopulate URL use the textbox field variables instead of the checkbox.


    You can try it on my cloned version I have only applied it on the first 2 checkbox fields. Try to select them and submit, it should be populated on the next form.

    If you need further assistance, let us know.

  • Profile Image
    Answered on November 08, 2016 at 02:51 PM

    This is brilliant! Thanks again and I'll go ahead and implement that.

    You folks are the BEST!

    *edit: I am the OP, sorry I was using a different account before!

  • Profile Image
    Answered on November 08, 2016 at 04:35 PM

    You're welcome. 

    Thank you for your kind words, we appreciate that.

    No problem, if you have any additional questions please let us know.


  • Profile Image
    Answered on November 09, 2016 at 04:25 PM
  • Profile Image
    Answered on November 09, 2016 at 07:11 PM

    That is supposed to work with iframe embedded form. However, upon checking, it seems the iframe embed code is breaking the URL parameters. I will escalate this to our developers on a separate thread here You will be informed via that thread once this is resolved.


    Meantime, have you tried using the default script embed code? Prepopulate should work using this embed code as well along with your webpage URL.