This is a demo of some basic form elements built in MVC’s razor view engine. Obviously this isn’t an MVC site I’m hosting here, but rather a static copy of what my demo site generates. This site uses Bootstrap 3 for styling, and jQuery validate for client side validation, which I have customised to use with Bootstrap classes.
Information!
This is an information message. I have a script that can hide and show this depending on what value is selected above. It works in a similar way to the jQuery validation plugin using the data attributes on the element. Once I have made some more improvements to it I will put it on Github.
Warning!
Warning message to user, the selection you just made has triggered this extra thing for you to read.
Success!
Select other to enter more details.
Including things like thing 1.
Any data you have entered will not be saved.