0
customize input 'required' messages.
Hello everyone, while programming my web RPG a friend told me about the required, which I had not yet put in the login fields. Anyway, I would like to know if you can edit the message that appears When I don't write anything in the inputs. appreciate
2 Answers
+ 2
Hmm you may give initial value to your input tag
By using syntex
<input value="xyz"/>
Or else you may also use placeholder [recommended]
By using syntex
<input placeholder="xyz"/>
0
oh sorry, i think n was necessary, when we put a 'required' in an 'input', when leaving the field empty when trying to send the form a message will appear, I was wondering if it is possible to edit this message