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
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. :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.