I need to use different imput mask depending from wich country my client is from. I would like to have a zip code and a phone number imput mask that change for each country. Someone told me to put an "if code" but the problem is that the database is for a travel agency. We have clients from all over the world and i dont want to but 185 if then for every country. Is it possible to create a table with a description of the imput mask to make this easy to use and also to add new country.
Ex: in Canada the zip code are L0L 0L0 but in the US its 00000. The same thing happened for the phone numbers between Europe and America
Ex: in Canada the zip code are L0L 0L0 but in the US its 00000. The same thing happened for the phone numbers between Europe and America