Jump to content

Country And State_Prov Select List


kathymack

Recommended Posts

Hi

 

On my form I have a country select list and a state_prov select list.

 

If the user selects the country "United States" or "Canada" the state_prov select list is updated accordingly.

 

This works great on the form where the user can add a record, however on my modify form (attached), I can't

seem to get the stateprov php variable I get from my table to update the state_prov select list.

 

I renamed the file extensions to .txt to upload them.

 

Can someone pls point me in the right direction.

 

Thanks.

functions.txt

modify-code.txt

Link to comment
https://forums.phpfreaks.com/topic/271127-country-and-state_prov-select-list/
Share on other sites

Please post your code here within code blocks ([ code ] and [ /code ], without spaces) and more importantly, remove the code that is unrelated to the problem you are experiencing; we don't know your code like you do, and I doubt people want to dig through a bunch of code to even find the code you are referring to. :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.