Reputation: 359
I would like to implement form validation using Bootstrap3's CSS (For Example: On Submit, assuming all forms are filled in correctly, display an "alert alert-success". If failed, display "alert alert-danger" containing an explanation to the failure (Ex: Please enter a valid name). Right now, all I can get to work is requiring text in a field (using HTML5 required tag) without the ability to display any alerts.
Current Code: http://pastebin.com/AjfUA26n
Website: http://infenterprises.com/contact/
Upvotes: 0
Views: 869
Reputation: 1422
You will need to do two things:
Upvotes: 1