Hi,
I have requirement to validate 4-digit pin. Below are the requirement of the 4-digit number
1. pin should not allow sequential numbers
2. pin should not allow same numbers
example: 1234 or 4321 or 0000, 1111 or 4444 or 2222 or 3333 numbers are not allowed as a card pin.
can anyone please help me how to write logic for the validation.
thanks in advance!
Discussion posts and replies are publicly visible