Designate the username field as required, and focus on the name field when the page loads: | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Designate the username field as required, and focus on the name field when the page loads:

<form autocomplete="off"> <input name="name" type="text" /> <br /> <input name="username" type="text" /> </form>

20th Apr 2017, 2:39 PM
Abdallah Elsayed Abdel kader
Abdallah Elsayed Abdel kader - avatar
2 Réponses
+ 1
<form autocomplete="off"> <input name="name" type="text" autofocus /> <br /> <input name="username" type="text" required /> </form>
20th Apr 2017, 3:07 PM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar
0
<body> <form autocomplete="off"> <input name="name" type="text" autofocus /> <br /> <input name="username" type="text" required /> </form> </body>
3rd May 2019, 2:45 PM
nice1 forever
nice1 forever - avatar