Hi All,
I have a for that has a drop down for states. If a user selects a certain state, I need an alert telling him that the service is not yet available in that area.
Pretty simple, I think I can handle 1 or 2 states. But, is there an easy way to check against a list of states?
For example, out of the 50 states only 10 are available at this time. All others, the service is not available. Instead of doing 40 if statements, is there a way to streamline this?
I hope I didn't completely confuse everyone.
Thanks!
Jim
I have a for that has a drop down for states. If a user selects a certain state, I need an alert telling him that the service is not yet available in that area.
Pretty simple, I think I can handle 1 or 2 states. But, is there an easy way to check against a list of states?
For example, out of the 50 states only 10 are available at this time. All others, the service is not available. Instead of doing 40 if statements, is there a way to streamline this?
I hope I didn't completely confuse everyone.
Thanks!
Jim