Created
October 1, 2013 12:37
-
-
Save Pierry/6777797 to your computer and use it in GitHub Desktop.
Customizar mensagens de erro de validação com a Kendo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add Form Fields --> | |
<div id="userDetails"> | |
Nome: <input type="text" class="k-input" name="firstName" required data-required-msg="Insira seu primeiro nome" /><br /> | |
Sobrenome: <input type="text" class="k-input" name="lastName" required data-required-msg="Insira seu sobrenome" /><br /> | |
Idade: <input name="age" type="number" class="k-input" min="13" max="125" step="1" data-min-msg="Você deve ter ao menos 13 anos" | |
data-max-msg="Não mais" /><br /> | |
<button id="save" class="k-button" type="button"> Salvar</button> | |
</div> | |
<!-- Validation Messages Area --> | |
<p> | |
<span id="isValid"></span> | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment