Add the following in the HTML input field tag:

autofocus

Example of use:

<input type="text" class="name-field" placeholder="Your name" name="yname" autofocus>

Source: https://www.w3schools.com/tags/att_input_autofocus.asp