Require login to fill form (using app), capture users Name

  • timdotwatson
    Asked on November 24, 2021 at 1:00 PM

    Hi, we have a need to capture the users name who fills out a specific form, but we can't have them enter their name every time they fill out this form. We need the users name to be passed into the google doc (via integration).

    How can we have a user, enter their name once (or ideally, just be logged in) and then be able to fill out forms repeatedly, that will create a new record that each includes their name (into the google doc)?

    Is this something that can be done using pages (like page 1 is the login page where a user puts their name), and then page 2 reloads over an over again for new submissions?

    I'm open to all solutions, but we need the users actual name in the google document, without the need to fill out a "name" field every time they fill out this form. It would slow down our operation way too much and add an unnecessary step every time just to collect information that should be available already.

    I'm open to paid solutions here, but I do need some help getting this to work. Please let me know what we can do here.

  • Kat JotForm Support
    Replied on November 24, 2021 at 2:34 PM

    Hi there,

    Happy to help!

    It is not currently possibly to create a form respondent "log in" unless you make them a sub-user of your account with an Enterprise plan; however, upon reading your thread it looks like you only want the user to fill out the form and not be able to make changes to the form itself.

    Each time the form is submitted, it will create a new record, but we may be able to achieve what you're looking for for multiple form submissions using a Thank You Page redirect and URL parameters to automatically pass on the value entered in the "Name" field.

    Please allow me a little time to put together this example for you, and I will update you via this thread as soon as possible.

    Thank you in advance for your patience and understanding!

  • Kat JotForm Support
    Replied on November 25, 2021 at 3:17 PM

    Hi again,

    Thank you for your patience as I put together a potential workaround for you!

    We'll be using steps from the following guides:

    how-to-automatically-pass-form-data-to-another-form

    redirecting-users-to-a-different-page

    I created a simple demo form here if you'd like to test out the example: https://form.jotform.com/213285379180056

    You can add in as many fields as you like, but the field that we're really concerned about is the Name field: we'll make sure that that's added in.

    Next, we'll use the following URL to the same form, but with the URL parameter included so that it automatically fills in the Name field: https://form.jotform.com/213285379180056?name[first]={name:first}&name[last]={name:last}

    And, to have the form loop for filling out multiple times, we'll set up a Thank You Page Redirect to the URL with our parameters included:

    1637871089 619fedf1c121f  Screenshot 10

    So, when the form is filled out the first time, it will loop back again to fill in the name over and over again. Once integrated with Google Sheets, each submission will create a new entry, but the Name will always be the same:

    1637871365 619fef0517140 loopingform Screenshot 21

    Would this be a viable option for your use case?