I create a dropdown of previous addresses to be inputted into the address field, which is in each line item(commerce). It works perfectly if the address being inputted has the same country as the default one in the form. If the country is different however, it refreshes the form and resets it to the default country & state/province.
Any ideas?
Comments
Comment #1
jasen commentedNevermind, I figured it out. Turns out that Drupal doesn't like it when you try to force the #options lists, so I simply had to use the form API to make the element that was giving me a problem this attribute: '#validated' => TRUE
Comment #2
johnvComment #3
johnvIt seems your case is an example of #1094138: Create a watchdog error message when an address field value is saved without a country