Since there are many instances that forms will require two address fields and the address fields will frequently match (e.g., mailing address and street address, shipping address and billing address, etc.), it may be more efficient to duplicate the address field by checking a box. As you can see from the screenshot, all of the street address fields are automatically filled with the specified mailing address, except for the state field, which has been modified for a drop-down list for the state information.
Below is the code that modifies the state field and automatically fills the street address fields. Any ideas why the state field is not being filled and how the code should be changed?