how to validate phonenumber with out using localvariable?
Discussion posts and replies are publicly visible
In which variable you stored your data? It will be either local or RI variable.