calling form_set_error correctly