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

    How to add default value to State field in the Full Address field

    Asked by catspj on June 13, 2015 at 10:39 PM
    Is there any way to forcibly enter 'Apokoronas' in the 'State / Province' address box? Or could I make
    'Apokoronas' required?
  • Profile Image
    JotForm Support

    Answered by Mike_G on June 14, 2015 at 12:32 PM

    Here's what you can do: 

    You can prepopulate the State/Province field using the URL in the iframe code. 

    For example, this is your iframe code embedded on your website:

    So every time your web page loads together with the form, the State/Province field is prepopulated.

    You can use this guide as your reference: Prepopulating-fields-to-your-JotForm-via-URL-parameters

    After doing the instructions above, you can add this CSS code to your form using this guide: 

    How-to-Inject-Custom-CSS-Codes

    Code:

    #input_262_state{

    position: relative !important;

    z-index: -1 !important;

    }

    This will make Form submitters unable to click the State/Province field. However, they can still go to that field if they use the "Tab" key from their computer keyboards.

    I hope this helps. If you have any further questions please feel free to let us know and we will be glad to help you. Thank you.