cferdinandi / validate

A lightweight form validation script.
MIT License
230 stars 39 forks source link

How do I change the error message? #56

Closed paveell closed 6 years ago

paveell commented 6 years ago

Please tell me how to display an error message inside the <span class="input__text"></span> field, as shown in the example?

<span class="input__text">
      <span class="input__label">Name</span>
      Error message: <span id="error" class="input__error"></span>
</span>

Thank you Test case: https://jsfiddle.net/cferdinandi/yhqepa3x/

cferdinandi commented 6 years ago

I'm unable to provide support for custom modifications to the core code like this right now. Sorry!