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

6th Jul 2020, 12:49 AM
João Hoffman
João Hoffman - avatar
2 Respostas
+ 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"/>
6th Jul 2020, 1:51 AM
Ayush Kumar
Ayush Kumar - avatar
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
6th Jul 2020, 2:01 AM
João Hoffman
João Hoffman - avatar