Handling validation errors on submit

Fixed bug causing form to submit when error occurs in validation. Fixed bug causing validation to check fields in sub-forms which don't share the same schema, which will cause an exception when that field is expected in the scheme.