Extend submit function to have error checking. Integrate qTip2 plugin to display error messages.