ACF Address Field Mapping
-
I have this form: https://pastebin.com/y1JWXFfV
It has this address field that I’m trying to map:
https://i.gyazo.com/cf2a1da44f20ec912e9d39c38d1b0059.png
From this: https://github.com/strickdj/acf-field-address
I tried doing business_address[‘city’] and business_address[city], etc, as the Forminator labels because that’s how I can echo them onto the page but unfortunately it doesn’t work.
I see in the post custom data the value ends up something like this when it’s submitted manually/correctly:
Label: business_map
Value:a:5:{s:7:”street1″;s:13:”123 Main”;s:4:”city”;s:9:”Vancouver”;s:5:”state”;s:16:”British Columbia”;s:3:”zip”;s:7:”V5V 3E4″;s:7:”country”;s:6:”Canada”;}
I’m not sure if there’s a way to map into this field?https://i.gyazo.com/c3c876a485d3aa6e696f94276e51159e.png
You guys are awesome and I really appreciate all of your help.
- The topic ‘ACF Address Field Mapping’ is closed to new replies.