How do I prepopulate an email input if it doesn't contain a name attribute?

  • adam16ster
    Asked on May 28, 2017 at 2:25 PM

    How do I prepopulate an email input if it doesn't contain a name attribute? All I see available are id, placeholder, size and type. Please help.

  • Jan
    Replied on May 28, 2017 at 4:01 PM

    Normally, all regular text fields have a unique name and can be seen in the Chrom Devtools or Firebug.

    It is possible that you are referring to a widget field. Are you referring to this form (https://www.jotform.us/form/71448612484157)?

    I cloned this form and I can see that the "Player Email" field is a widget. Please follow the guide below in order to get the Unique Name of this widget field:

    1. In the Form Builder, select the widget and then click the "Properties" button.

    How do I prepopulate an email input if it doesnt contain a name attribute? Image 1 Screenshot 50

    2. Go to "Advanced" tab and click the "Field Details" button.

    How do I prepopulate an email input if it doesnt contain a name attribute? Image 2 Screenshot 61

    3. Please copy the "Unique Name". You can use this for prepopulating the fields.

    How do I prepopulate an email input if it doesnt contain a name attribute? Image 3 Screenshot 72

    Here's the result:

    How do I prepopulate an email input if it doesnt contain a name attribute? Image 4 Screenshot 83

     

    Hope that helps. Thank you.