How can I add custom ID for an input filed

  • Cadampog_Seth
    Asked on March 18, 2025 at 1:10 PM

    I am looking to create an input filed like this

      <input id="leadid_token" name="universal_leadid" type="hidden" value=""/>

    But i am unable to find an option to set a custom id for the filed, for me the id should be "leadid_token"


  • Jan JotForm Support
    Replied on March 18, 2025 at 3:40 PM

    Hi Seth,

    Thanks for reaching out to Jotform Support. It would really help me to understand what's happening if you could explain a bit more about what’s going on. Are you trying to add JavaScript to your form? Are you editing the Form Full Source code?

    Please try using the Form ID and see if that's what you're looking for. You can follow the guide below on how to find the form ID:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Publish.
    2. In the Quick Share tab, copy the form ID number in the Share With Link section.

    How can I add custom ID for an input filed Image 1 Screenshot 20

    Once we hear back from you, we'll be able to help you with this.

  • Cadampog_Seth
    Replied on March 19, 2025 at 12:20 AM

    Hi Team,


    We are looking to add Jornaya LeadID tags into jotforms

    We have a script and a hidden input filed to add, for the hidden input ID needs to be same as the document provided by them. But i couldn’t find an option to set fixed ID for an input

    The hidden input should look like this

     <input id="leadid_token" name="universal_leadid" type="hidden" value=""/>

    id="leadid_token"


  • Raymond JotForm Support
    Replied on March 19, 2025 at 6:39 AM

    Hi Seth,

    Unfortunately, it's not possible to customize the field IDs of your form's field. Instead, you may create a hidden field in your form, and use its predefined field ID to populate it, either by script or through URL parameters. Let me show you how to do that:

    1. In Form Builder, click on the Add Element button on the left, and click on the Short Text field to add it to your form.
    2. Next, click on the Gear icon next to it, and in its properties on the right, click on the Advanced tab.
    3. Enable the Hide option, and if you expand the Field Details, you'll find the Input ID and the Unique Name for that specific field.
      How can I add custom ID for an input filed Image 1 Screenshot 20

    The unique name can then be used to prepopulate the field through URL parameters by appending it to the form link like so:

    https://form.jotform.com/250773192220047?typeA=test

    We also have guides on How to Find Field IDs and Unique Names and Prepopulating Form Fields via URL Parameters that you can check out.

    Alternatively, if you're using classic layout form and are familiar with coding, you may download its source code, and insert your custom scripts in it before embedded to your webpage.

    Reach out again if you have any questions.