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

    Auto-Checking Checkboxes Based on Referrer

    Asked by borczdixon on January 10, 2014 at 03:15 PM

    Hi - the title just about says it all - is there a means by which to automatically check a specific checkbox based on the referring (prior) page?  If a visitor comes from one of our product pages, I want the corresoding check box to be pre-checked for the user.  

    If that's not an option - is there a method to include jquery and possibly accomplish it this way?



    Page URL:

  • Profile Image
    JotForm Support

    Answered by jonathan on January 10, 2014 at 04:25 PM


    This can be achieved using a separate javascript code and using the form's source code embed.

    But, I would suggest you also take a look at this article first

    1. How-to-Know-the-Exact-URL-of-a-Page-From-Which-a-Submission-Came

    2. -Prepopulating-fields-to-your-JotForm-via-URL-parameters

    Here is a sample form where you can see checkboxes are auto selected.


    You did not share to us the URL of your website where we can test the embedded form, but I think you can already pre-populate the checkboxes and also capture the URL which form was submitted from using only the URL of the embedded form.

    Hope this help. Inform us if you need further assistance.