UNPKG

foundation-sites-5

Version:

**This package is only for versions 5 and earlier of Foundation. As of version 6, the package has a new name: `foundation-sites`.**

20 lines (19 loc) 612 B
{{#markdown}} ```html <form data-abide> <div class="password-field"> <label>Password <small>required</small> <input type="password" id="password" required pattern="[a-zA-Z]+"> </label> <small class="error">Your password must match the requirements</small> </div> <div class="password-confirmation-field"> <label>Confirm Password <small>required</small> <input type="password" required pattern="[a-zA-Z]+" data-equalto="password"> </label> <small class="error">The password did not match</small> </div> <button type="submit">Submit</button> </form> ``` {{/markdown}}