i want to validate pan number ?
Discussion posts and replies are publicly visible
OK. What is a pan number? What did you try? What failed?
Hi, in order to validate pan number ,you would need to know the criteria for a valid pan number. For example it should have ten characters ,the first 5 characters should be upper alphabets ,etc.Then you can write an expression to check all the criteria.
use regexmatch function in the validation part.. then you need to define regex pattern, like first five charachers will be upper case alphabets, followed by 4 numbers & end one upper case alphabet. if the regexmatch function returns true then no error, else show error message