API & Dynamic Content

How do display default value when a custom field is not present?

Custom fields can be created by going to Contacts >> Custom Fields or by using an API call, found at: http://dev.getresponse.com/api-doc/#set_contact_customs


To display a custom field, in this example 'car', the following code should be used:


{{CUSTOM "car"}}


If the field is left empty, you may provide a default value in the following manner:


{{CUSTOM "car" "your car"}}


Beautifulizers can be used with custom fields. More information can be found at: http://dev.getresponse.com/dc-doc/#beautifulizers

Back To Frequently Asked Questions

Please wait...