fix bugs in jquery validator defaults and add validator to input and output forms on labnotes