T
T
Trajor2017-03-15 23:10:17
Angular
Trajor, 2017-03-15 23:10:17

How to make subpoena required when trying to send?

jsfiddle.net/HB7LU/27818
How to make subpoena required when trying to submit?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2017-03-15
@miraage

<p ng-show="myForm.username.$dirty && myForm.username.$error.required">Username is required.</p>

input.ng-dirty.ng-invalid{
  border: 3px solid red;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question