This is a simple validation mechanism with the JQuery Validate plugin

*

*

*