I have multiple pages for different product and service offerings. When someone fills out a form on one of these pages, I want them to be added to an associated List. So far pretty easy.
The trick is I don’t want to define one form per product/service. What I’d prefer is to have a generic form that I can use on each page, and then based on which page I place it on, it adds the Lead to the correct List.
It looks like I can create a hidden field, say ListName, and then have a campaign that makes a decision based on that value and adds it to the correct List. However I have two questions:
- How do I specify the value of ListName on each page the form appears on? I can see how to do it using the Manual HTML option, but is it possible to do it using the Automatic option (ie. the one that calls generate.js)?
- In the campaign, I end up with a “Form Field Value” condition"Modify Lead’s Lists" action pair for each possible value of ListName. This could get unwieldy pretty quickly. Is it possible to somehow reference the ListName hidden field value in the Action’s “Add lead to selected list(s)” box directly? ie. so it resolves it dynamically?
I hope that makes sense.