how do i control: validateForm
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
}
i have done my fields validation inside that method, however, how do i control from there?
how to stop the submit process if the validation failed? and how to send notification/error message to the respective field?
Thank you,