Lab 13

Bootstrap + jQuery

We will be writing front end to validate a form subission for required fields with jQuery and Bootstrap framework. Your job is to create a nice page that will implement Bootstrap's navbar, jumbotron, and mock 'News Letter Registration' which will contain a form having the following fields: First Name, Last Name, Email, and Interests. Using jQuery for front end validation, validate that each field has been filled and that at least one Interest has been checked. Once validated, you will not further the request to the server, but rather change the innerHTML (text) of page to say "Thank you FirstName,LastName" and display the selected Interest(s). If the form is not valid, dynamically display glyphicon exclamation sign for each invalid or missing form field and change the input field's background to red ('danger').