Add client-side validation to sendemailjob form