0

I'm Having a problem with Html.

I have a text area and in this text area I want people to write their email address. But how can I check if they typed an email address? Like if they don't type anything in this field system will write above that field that you need write your Email Address.

Please help :)

2 Answers2

0

Use input type="email"

<form>
<input type="email" required/>
<button type="submit">Submit</button>
</form>
ellipsis
  • 12,049
  • 2
  • 17
  • 33
0

Try to replace your textarea to input, than add input type to email.

<input type="email" class='uid' name='uid' placeholder='Jūsų Gmail Adresas'>
Putte
  • 328
  • 2
  • 17