0
<input type="text" class="form-control " name="username"  placeholder="Enter ID " required >

I have to change the position of validation which tells please fill out details to rightside of textbox.I have to change validation message to "Enter Username".How to implement those?

1 Answers1

0

For custom validation messages i got an answer

<input type="text" id="username" required placeholder="Enter Name" oninvalid="this.setCustomValidity('Enter User Name Here')" oninput="setCustomValidity('')" />