Dynamic Smartcodes for Name and Address field

tdrayson

If you are looking to use the dynamic smartcode {dynamic.INPUT_NAME} for the address or name field, you need to use the format:

{dynamic.INPUT_NAME[key]}

This is because these fields are stored in an array, so the only way to access them are using the [key] notation.

Examples:

Name field

First name = {dynamic.names[first_name]}

Last name = {dynamic.names[last_name]}

Address field

Address line 1 = {dynamic.address[address_line_1]}

Address line 2 = {dynamic.address[address_line_2]}

City = {dynamic.address[city]}

State = {dynamic.address[state]}

Zipcode / Postcode = {dynamic.address[zip]}

Country = {dynamic.address[country]}

Unlike {dynamic.names} which outputs first name and last name, {dynamic.address} does not output anything.

👋🏻 Weekly Tutorial Digest

I send out a weekly newsletter with links to new tutorials written in the last week, you can subscribe below.

Newsletter

🔒I won't send you spam, I promise