How to focus a field on form load?

  • Profile Image
    sanibeltechnologies
    Asked 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
    Nik_C
    Answered 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!