Auto-populate Prize Name from Registration Number in Form

  • Profile Image
    mumangalagangothri
    Asked on March 12, 2026 at 4:41 AM

    I have a dataset with two columns: Registration Number and Prize Name. In my form, the respondent should enter their Registration Number in a text field. If the entered Registration Number matches one in the dataset, the form should automatically display the corresponding Prize Name. If the number is not found in the dataset, the form should display “Backstage”. However, the form should still allow submission regardless of whether the Registration Number exists in the dataset.

  • Profile Image
    Sheena JotForm Support
    Replied on March 12, 2026 at 5:28 AM

    Hi mumangalagangothri,

    Thanks for using Jotform. We have a Spreadsheet to Form Widget that you can use to import your data that can pouplate the form based on the entered matches. Let me show you how to use it:

    1. Create a spreadsheet with your data structured like you see below. Make sure that the column names in the spreadsheet match the field names on the form, and include a unique column, like an ID, so the data can be distinguished.

      Auto populate Prize Name from Registration Number in Form Image 1 Screenshot 90
    2. In Form Builder, click on the Add Element menu on the left side of the page.
    3. Click on the Widgets tab, search for the Spreadsheet to Form widget and add it to your form.
    4. In the menu on the right side of the page, upload your data file. (You can simply drag & drop your excel file to the Upload File area.) 

      Auto populate Prize Name from Registration Number in Form Image 2 Screenshot 101
    5. Then, click on the Downward Arrow icon in the Access Code Column option and select the unique column.
    6. You can also customize texts used in the widget. After you complete everything, click on the Update Widget button at the bottom right of the menu.

      Auto populate Prize Name from Registration Number in Form Image 3 Screenshot 112

    Now, when people fill out your form and enter the unique code from the spreadsheet, the corresponding fields will automatically populate when they click Auto Complete Fields. Check out my screencast below to see how it works:

    Auto populate Prize Name from Registration Number in Form Image 4 Screenshot 123

    Another option is to create a condition that inserts a value based on the user's answer. I added a Short Text element for the prize name since I didn’t see one in your form. Let me show you how:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    2. In the menu on the left side of the page, click on Conditions, and then select Update/Calculate Field. (If you already have a condition set, first click on Add Condition, then select Update/Calculate Field.)

      Auto populate Prize Name from Registration Number in Form Image 5 Screenshot 134
    3. Set the condition like you see below, and click on Save.

      Auto populate Prize Name from Registration Number in Form Image 6 Screenshot 145

    Result:

    Auto populate Prize Name from Registration Number in Form Image 7 Screenshot 156

    You can also set the default value to Backyard in the Short text field so it will only be changed once it matches the condition above. Here's how:

    1. In Form Builder, click on the Short Text field, and then select the Gear icon to open Short Text Properties
    2. Next, in the menu that opens on the right side of the page, click on the Advanced tab.
    3. Enter Backyard under Default Value and you're done.

    Auto populate Prize Name from Registration Number in Form Image 8 Screenshot 167

    Give it a try and let us know if you have any other questions.

  • Profile Image
    mumangalagangothri
    Replied on March 12, 2026 at 7:51 AM

    Hey, it seems like you did not get my question.


    I have a data sheet with Reg No. and Award in two columns (say 100 rows). I want to have a question in Jotform of this form: When an respondent enters Reg No. in a text field, if he has award, the respective award to be displyed, otherwise it should dispaly that `You will receive the certificate backstage'. But it should accept the entry.


    Is it possible to get this in Jotform?


  • Profile Image
    Kris Ann JotForm Support
    Replied on March 12, 2026 at 8:24 AM

    Hi mumangalagangothri,

    Based on how I understand your requirements, I believe that you can do it using the Spreadsheet to Form widget and setting conditions. So, can you take a screenshot of your spreadsheet so we can see the data composition and we can use it to provide our customized solution? Let me show you how to post a screenshot to our Help Center:

    1. On the Help Center page, scroll down to the Your Answer section and click on the Image icon.

    2. Drag and drop your image into the Upload box, or click on it and select your file.

    3. Then, click on the Add button in the bottom-right corner of the window.

    Auto populate Prize Name from Registration Number in Form Image 1 Screenshot 30

    4. To resize it, click on your screenshot and then click on one of the boxes in the corners, and drag it inward.

    5. Once you're finished, click on the Post Answer button at the bottom right of the Your Answer section.

    Auto populate Prize Name from Registration Number in Form Image 2 Screenshot 41 That's it. Once we hear back from you, we'll be able to help you with this.

  • M
    Mohana K S
    Replied on March 12, 2026 at 11:35 AM

    Auto populate Prize Name from Registration Number in Form Image 1 Screenshot 20Hi, I have attached an image of the data sheet. Suppose a responder types his registration number. If that number is in the data, he sould get the msg(near to the entry) menting the nature of award. otherwise (if the number is not in the data, he should get the msg like `You may receive the certificate in the backstage` How to ahieve it?

  • Profile Image
    Reymae JotForm Support
    Replied on March 12, 2026 at 12:01 PM

    Hi mumangalagangothri,

    You can easily achieve this with the Spreadsheet to Form Widget. You can follow the first option that Sheena shared on this post to learn more on how to configure it. For this demo, I used the spreadsheet below:Auto populate Prize Name from Registration Number in Form Image 1 Screenshot 90I will be using the widget in the background so the form will record the submission even when the code is invalid. You need to enable the Autofill By Condition and Run in the Background option in the Widget Settings like this:

    Auto populate Prize Name from Registration Number in Form Image 2 Screenshot 101It's important to note that the Column header and Field Label should exactly match for the system to prepopulate it. Check out the demo form setup I have:Auto populate Prize Name from Registration Number in Form Image 3 Screenshot 112Then you can add a Paragraph field to show the message you like if the Registration number is not listed. Let me show you how:

    1. In Form Builder, click on Add Element on the left side of the page.
    2. Then, in the Form Elements menu, under the Basic tab, scroll down the list and choose the Paragraph field.
    3. Now, just drag and drop it to your form.
    4. Click the Pencil icon to edit your text and select the Encircled Check icon to save the changes.

    Auto populate Prize Name from Registration Number in Form Image 4 Screenshot 123 Now, let's set up the conditions:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.

    2. Next, click on Conditions on the left of the page.

    3. Now, click on Show/Hide Field to create your condition (if you already have a condition, first click on Add Condition and then click on Show/Hide Field).

    Auto populate Prize Name from Registration Number in Form Image 5 Screenshot 134

    4. Set the conditions like you see below and click on Save:

    Auto populate Prize Name from Registration Number in Form Image 6 Screenshot 145

    You also need another condition, but an Update/Calculation condition this time, to pass the data from the Short Text field to the Spreadsheet to Form widget:

    Auto populate Prize Name from Registration Number in Form Image 7 Screenshot 156

    You can clone and test my demo form here. Check out the screencast below to see how it works after:Auto populate Prize Name from Registration Number in Form Image 8 Screenshot 167Give it a try and let us know if you have any other questions.

  • Profile Image
    mumangalagangothri
    Replied on March 14, 2026 at 3:10 AM

    I tried in the same way you said!

    Widget calculation is not happening, I guess!

    I am sharin the link here: https://form.jotform.com/mumangalagangothri/44th-annual-convocation-mu

    Kindly help me, where I am going wrong?

  • Profile Image
    mumangalagangothri
    Replied on March 14, 2026 at 3:22 AM

    Sorry. Its working. I had hidden the widget!

  • Profile Image
    Mary JotForm Support
    Replied on March 14, 2026 at 3:24 AM

    Hi mumangalagangothri,

    I checked and it seems that the second condition was not yet created. You can refer to the Update/Calculate condition provided by my colleague Reymae earlier.

    Give it a try and let us know how it goes.

  • Profile Image
    mumangalagangothri
    Replied on March 16, 2026 at 7:33 AM

    Its working.

    I have a another QUESTION:


    If the question `Award" Contains the word `Cash' i want a MUQ button to be ticked (autofill) as an option. I s it possible to achive?

  • Profile Image
    Rose Enterprise Support
    Replied on March 16, 2026 at 7:47 AM

    Hi mumangalagangothri,

    I moved your last question to another ticket. We'll provide our response here shortly.

    Let us know if there’s anything else we can help you with.

  • Profile Image
    mumangalagangothri
    Replied on March 16, 2026 at 9:42 AM

    I have one more query regarding this. If I enter a registration number in the uploaded sheet, it will show correct entry on the fireld `Prize. But if I slightlychange the entry after enering, and if the the number is not in the list uploaded, the 'Prize' field does not become blank!


    Kindly help.


  • Profile Image
    Eliza Enterprise Support
    Replied on March 16, 2026 at 9:53 AM

    Hi mumangalagangothri,

    I’m not sure I understand. Do you mean if they enter an invalid registration number, you want to still capture whatever number they entered, so that it will still be included in their submission data? If that’s not quite what you’re looking for, can you share a bit more info so I can help you better?

    After we hear back from you, we’ll know what’s going on and how to help.

  • Profile Image
    mumangalagangothri
    Replied on March 16, 2026 at 10:22 AM

    Auto populate Prize Name from Registration Number in Form Image 1 Screenshot 40


    Auto populate Prize Name from Registration Number in Form Image 2 Screenshot 51

    image 1 corresponds to correct data in the fireld, autofill works(look at the award field). In image 2 I changed the number, but the field `Award' not changed

    Auto populate Prize Name from Registration Number in Form Image 3 Screenshot 62

    In image 3, entered an entry not in the list showing correctly.


    Thus, if we enter an entery in the sheet it displys correctly, if we change, it doe not changes!

  • Profile Image
    Myla_T
    Replied on March 16, 2026 at 10:51 AM

    Hi mumangalagangothri,

    If I understood it correctly, the award is not cleared when you change the existing code, but when the entire code is changed, it is deleted? If so, can you try to change your Clear Hidden Field Values to Clear when Hidden? Here's how:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    2. Next, click on Show More Options.
    3. Now, scroll down to the Clear Hidden Field Values and select the Clear when Hidden from the dropdown.

    Auto populate Prize Name from Registration Number in Form Image 1 Screenshot 20

    After that, try to test it again and see if it makes any difference. If not, can you allow us to test your form so we can check if we will be able to replicate the issue?

    Give it a try and let us know how it goes.

  • Profile Image
    mumangalagangothri
    Replied on March 16, 2026 at 11:37 AM
  • Profile Image
    Eliza Enterprise Support
    Replied on March 16, 2026 at 12:05 PM

    Hi mumangalagangothri,

    I cloned and tested your form, and I ran into the same issue. The good news is, there’s a quick fix. Here’s how:

    1. In Form Builder, click on the Spreadsheet to Form widget and select the Wand icon to its right.
    2. On the Widget Settings menu, scroll down to see Reset fields when Invalid, then toggle it to On position.
    3. Then, click on Update at the bottom.

    Auto populate Prize Name from Registration Number in Form Image 1 Screenshot 30 Now, whenever you make changes with the Registration Number that you entered, make sure to click on anywhere outside the field to update the other fields. Check out the screencast below to see my results:

    Auto populate Prize Name from Registration Number in Form Image 2 Screenshot 41

    Give it a go and let us know if anything else comes up.