Is there a way to retrieve the available custom fields for a particular subscriber list? We have multiple subscriber lists, each with their own set of custom fields. I'm trying to write one function to output each subscriber signup form (that I can call on various pages around the website). I would like to retrieve the available custom fields, so I know which form fields to create for each subscriber signup form.
Note, I'm manually creating the subscriber forms with PHP/HTML, and using the API on form submission to add the subscriber. So I'm not using the 'Create a subscribe form' tool in CM.
All custom fields are available through the API.
Hi James, we have a custom fields API method which you can use to retrieve the custom fields for a given list. You'll need to make a call for each list (list ID). Hope this helps, but let us know if you have any questions :)
Thanks so much!!
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that drive real business results.Get started for free