NSD- move validation function outside of document ready, also highlight problematic field labels in red on failed sumbission