Open tennist opened 7 years ago
Please note that I solved this problem. The reason for the error was due to having underscores in my form element id. I changed it to hyphens and everything is working fine.
On a side note I think this might be able to be implemented into the Commerce Module or as a new module "Commerce Addressbook", however. It requires a bit of modification to the current submit handler for billing information form in the Commerce module. I don't know the best way about changing this so that the commerce module will still be functional for people that don't have Commerce Addressbook running on their web server.
I am working on adding support for commerce address book and am running into an error. I am using in-line java to populate a select list on the checkout form that allows users to select from their saved billing addresses. Everything is working fine in terms of populating the list and setting the values for the input fields when an address is chosen, however, when I click the submit button, it says that the Saved Addresses Field is Required even though an item is selected in the list. My code is below and any help would be appreciated.