Open khotharish1207 opened 3 years ago
PIN is always 6 digit. You can reduce network call by validating PIN input value. (might use regex "^[1-9]{1}[0-9]{2}\s{0, 1}[0-9]{3}$";)
ref - https://en.wikipedia.org/wiki/Postal_Index_Number
yeah , even this should work
^[1-9][0-9]{5}$
PIN is always 6 digit. You can reduce network call by validating PIN input value. (might use regex "^[1-9]{1}[0-9]{2}\s{0, 1}[0-9]{3}$";)
ref - https://en.wikipedia.org/wiki/Postal_Index_Number