Thursday, May 12, 2016

Snippet: Validar rut con html5 forms


<input type="text" name="rut" required="required" pattern="\d{3,8}-[\d|kK]{1}" title="Debe ser un Rut válido"/>