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 populate field with source URL??

    Asked by thirdhub on June 01, 2015 at 01:12 PM

    My form will be launched from multiple blog pages.  Is there a way to capture the source URL in a form field?

  • Profile Image
    JotForm Support

    Answered by Charlie on June 01, 2015 at 02:47 PM

    If you are prepopulating your Form via URL parameters, then it can be done by following this guide: http://www.jotform.com/help/71-Prepopulating-fields-to-your-JotForm-via-URL-parameters

    If you would like to directly send or pass the value in a PHP script, that is possible using the "Send POST data" option, here's a guide for that: http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page.

    If you would like to fetch the value on the form and pass it via a custom URL, that is possible by checking the field name. You can check this guide: http://www.jotform.com/help/146-How-to-find-Field-IDs-Names.

    Example: www.mywebsite.com/myscript.php?firstName={firstName}

    {firstName} is the field name found in an example form. Please check your field name directly in its properties. I'll add that link to my "Thank You" URL so that when the user submits the form, it will redirect the user to that custom link, at the same time passing the first name value.

    I hope that helps.

    Thank you.