What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

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

    Asked by PoughkeepsieFarmProject on November 05, 2016 at 04:38 PM

    I am trying to prepopulate this form: https://form.jotform.com/63094314724959

    with choices made in this form: https://form.jotform.com/63085978084974


    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: http://form.jotformpro.com/63094314724959?input15={input15}&input16={input15} etc., etc., but that transfers the image html instead of the fact that that option is "true" or "false"


  • Profile Image
    JotForm Support

    Answered by Nik_C 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:


    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 by PoughkeepsieFarmProject 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: https://form.jotform.com/63085978084974. (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: https://form.jotform.com/63094314724959


  • Profile Image
    JotForm Support

    Answered by EltonCris 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 https://form.jotform.com/63124087561959. 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 by jesicaclark 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
    JotForm Support

    Answered by Nik_C 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 by jesicaclark on November 09, 2016 at 04:25 PM
  • Profile Image
    JotForm Support

    Answered by EltonCris 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 https://www.jotform.com/answers/986792. 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.