Hello all experts,
I have got this 2 options for the user, here is what is said to him but i want to simplify this
for the user more than that :
if your business is located in the following area(Group A):
Colorado, Connecticut, Delaware, Maine, Maryland, Massachusetts, Montana, New Hampshire, North Dakota
Pennsylvania, Rhode Island, South Dakota, Utah, Vermont, Virginia, Washington, D.C. West Virginia and Wyoming
Please send your package to: Philadelphia
and if it is located in the following regions:
Alabama, Alaska, Arizona, Arkansas, California, Florida, Georgia, Guam, Hawaii, Idaho, Illinois, Indiana, Iowa,
Kansas, Kentucky, Louisiana, Michigan, Minnesota, Mississippi, Missouri, Nebraska, Nevada, New Jersey, New
York, New Mexico, North Carolina, Ohio, Oklahoma, Oregon, Puerto Rico, South Carolina, Tennessee, Texas, Virgin
Islands, Washington and Wisconsin
Please send your package to: San Francisco
so i want this to be represtented in this way :
the user will have a selectbox with all the regions and when he selects any region
the address that this package is supposed to be sent to, should be filled in another field automatically.
So here is what is in my mind its just the logic:
if the user selects any region in group A then
FIELD Address.value = Philadelphia
FIELD Address.value = San Francisco
would someone help my in this code?if someone have a better solution for this ,that will be greate.
Thanks in advance.