I am facing a challenge with implementing Geolocation to automatically populate the address fields for my users. Specifically, I need assistance with (Mailing Address 1:) & (Physical Address 1:). Currently, the user addresses are displayed as they type, but once selected, I only want the Street Number and Street Address to appear in Mailing Address 1:
, with the rest of the information (city, state, zip) filling in the corresponding fields and leaving Mailing Address 2:
blank for apartment or suite details.
If the user selects that the physical and mailing addresses are identical, the autofill should mirror the process mentioned above.
If the addresses are different, I would like the same process to be followed.
Any assistance on this matter would be highly appreciated!