Jonathan Ong
Jonathan Ong

Reputation: 20315

Google Chrome native form error event

Does Google Chrome and any other browser trigger an event when a field is not valid on submit? For example, if an e-mail address field is an invalid e-mail, Google Chrome will launch a popup that says "Please enter an e-mail address".

Upvotes: 1

Views: 131

Answers (1)

int32_t
int32_t

Reputation: 6150

'invalid' event is dispatched. See Constraint validation

Upvotes: 1

Related Questions