Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. public function validateForm(array &$form, FormStateInterface $form_state) {
  2. // form validation here
  3. // if validation success then proceed to submit
  4. // else dont submit and send notification to the respective field
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement