How to force the cursor to display in the first field when the form is loaded?

  • Profile Image
    Sorapool
    Asked on May 25, 2017 at 08:26 PM

    Every time I try and edit the CSS code on my form, SORA Member Check-In, it does weird stuff, inserts text I didn't type, deletes text that I did enter.  All I want to do is force the cursor into the 1st field when the form loads.  Please help.

  • Profile Image
    Kiran
    Answered on May 25, 2017 at 11:16 PM

    Unfortunately, it is not possible to force the cursor to load on the first field using CSS. I have checked your JotForm and see that you have added HTML input tag in the CSS which is not allowed and you can have only CSS code in the CSS editor. In order to achieve your requirement, you may consider downloading the Full source code of the form and add some Javascript code to force the cursor to display in the required text field.

    Please refer to the link below that can help you with the Javascript code to be added.

    http://www.mediacollege.com/internet/javascript/form/focus.html

    Hope this information helps!