I am trying to manually trigger the error for a field when the server side validation fails.
So far i have tried to set the $valid of the form field to false. It make the input field to have the error invalid class but the error message does not show.
Hello all,
I am trying to manually trigger the error for a field when the server side validation fails.
So far i have tried to set the $valid of the form field to false. It make the input field to have the error invalid class but the error message does not show.
Is there any other way of doing the same?