Posts by André Dornas • 36 points
1 post
-
2
votes2
answers530
viewsA: Validate different fields with different regex
The HTML5 tag has gained the attribute "Pattern" to insert a regular expression to be compared with the user input. <form name="form1" action="#" method="post"> Telefone: <input…
javascriptanswered André Dornas 36