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 focus a field on form load?

    Asked by sanibeltechnologies on January 22, 2017 at 12:13 PM

    Hi. Is it possible to force the focus of the cursor on a text box? What I would like to do is have a text box that is hidden unless an option above it is chosen. Once that box is displayed, I would like to ensure that the person type something into the field so I want to automatically focus or place the cursor into the text field so they can begin typing. I don't want them to have to click into the field first before they start typing.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by Nik_C on January 22, 2017 at 02:38 PM

    Unfortunately, that is not possible to do in our Editor. It would require injecting JavaScript code which is not allowed by our system. The only way you could achieve this is to download the form's source code and implement the JavaScript solution for focusing the textbox field. But, that way you will not be able to put the code back to our server, instead you will have to host the form somewhere else.

    If you have any additional questions or you would like to do that, please let us know so we can assist you.

    Thank you!