Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove form_set_error() from *_validate() and *_submit() functions and use the '#required_message' property instead #5749

Open
klonos opened this issue Aug 29, 2022 · 0 comments
Assignees

Comments

@klonos
Copy link
Member

klonos commented Aug 29, 2022

This is a followup for #5348.

...we should do some cleanup in all our *_validate() and *_submit() functions, to move any custom form_set_error() logic from those into the new '#required_error' '#required_message' property for the respective required fields.

@klonos klonos self-assigned this Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant