added error injection to submission form