File: app/views/example-highlight-only.pug

Recommend this page to a friend!
  Classes of Dave Norminton   JS Form Validation Library   app/views/example-highlight-only.pug   Download  
File: app/views/example-highlight-only.pug
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: JS Form Validation Library
Validate form inputs of many types
Author: By
Last change:
Date: 2 years ago
Size: 897 bytes


Class file image Download
doctype html | PASTE YOUR HTML CODE HERE head title Form Validator meta(type='author' content='David Norminton') link(rel='stylesheet' href='style.css') header h1 Example : Highlight input borders only #alert form#form-1(name='myForm' action='' method='POST') div label Email span.message input#email(type='email') div label Confirm Email span.message input#email-check(data-vf='confirm' type='email') div label Date span.message input#check-date(type='date') div label Number span.message input#check-number(type='number') div label Url span.message input#check-url(type='url') input#form-submit(type='submit') script(src='form-valid.js') script. ValidateForm.init('myForm'); ValidateForm.msgOff(); //ValidateForm.tickCross('message'); //ValidateForm.globalMsg('alert'); //ValidateForm.debug('settings');