Validators Flashcards

1
Q

asynchronous

A

Provides asynchronous validation via a callback function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

date

A

Checks if user input is a valid date.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

email

A

Checks if user input is a valid email.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

integer

A

Checks if user input is a valid integer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Json

A

Checks if user input is a valid JSON.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

number

A

Checks if user input is a valid number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

phone

A

Checks if user input is a valid phone number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

regexp

A

Restricts valid input to a specified regular expression pattern.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

url

A

Validates that user input is a well formed URL.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Custom validator

A

angular.validator(, function(input [, additional params]) { [your validation code]; if ( [validation succeeds] ) { return false; } else { return “my error message”; } }

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Provides asynchronous validation via a callback function.

A

asynchronous

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Checks if user input is a valid date.

A

date

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Checks if user input is a valid email.

A

email

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Checks if user input is a valid integer.

A

integer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Checks if user input is a valid JSON.

A

Json

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Checks if user input is a valid number.

A

number

17
Q

Checks if user input is a valid phone number.

A

phone

18
Q

Restricts valid input to a specified regular expression pattern.

A

regexp

19
Q

Validates that user input is a well formed URL.

A

url