<style> .validated:invalid { background: #FAC3C9; } .validated:valid { background: #BDF0A8; } </style> <form action="action.php"> <input required name="name1" class="validated" type="text" /> </form>
Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
Labels
Showing posts with label html. Show all posts
Showing posts with label html. Show all posts
Wednesday, November 3, 2021
HTML - How to make a different color for blank textbox
Tuesday, November 2, 2021
HTML - Some new HTML5 input fields
<div class="form" width="100px"> <input name="e1" type="date" /> <input name="e2" type="color" /> <input name="e3" type="datetime-local" /> <input name="e4" type="email" /> <input name="e5" type="month" /> <input name="e6" type="week" /> <input name="e7" type="file" /> </div>Output:
Subscribe to:
Posts (Atom)

