This repository was archived by the owner on Jul 1, 2020. It is now read-only.

Description
- Have only two fields in the web page
- add validation attribute to the fields
- even if fields are marked with required in validation attribute after tabbing out of the fields, form gets validated i.e., 'Save/Submit' button gets enabled
I debugged it found that 'regex.test(value);' will return true for undefined value, it converts
undefined to a string value and then checks with regular expression