Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function validateForm(array &$form, FormStateInterface $form_state) {
- // form validation here
- // if validation success then proceed to submit
- // else dont submit and send notification to the respective field
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement