disable submit for forms when required fields have no values