{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/1152","labels_url":"https://api.github.com/repos/mautic/mautic/issues/1152/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/1152/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/1152/events","html_url":"https://github.com/mautic/mautic/issues/1152","id":115998078,"number":1152,"title":"Feature Request : Reference Field values inside Campaign Action ","user":{"login":"malcolmgroves","id":790786,"avatar_url":"https://avatars.githubusercontent.com/u/790786?v=3","gravatar_id":"","url":"https://api.github.com/users/malcolmgroves","html_url":"https://github.com/malcolmgroves","followers_url":"https://api.github.com/users/malcolmgroves/followers","following_url":"https://api.github.com/users/malcolmgroves/following{/other_user}","gists_url":"https://api.github.com/users/malcolmgroves/gists{/gist_id}","starred_url":"https://api.github.com/users/malcolmgroves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malcolmgroves/subscriptions","organizations_url":"https://api.github.com/users/malcolmgroves/orgs","repos_url":"https://api.github.com/users/malcolmgroves/repos","events_url":"https://api.github.com/users/malcolmgroves/events{/privacy}","received_events_url":"https://api.github.com/users/malcolmgroves/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-10T00:22:10Z","updated_at":"2015-12-17T23:02:33Z","closed_at":null,"body":"I'd like to be able to reference a value from the User's form inside one of the Campaign actions, and have that value resolved at runtime. \r\n\r\nAs background, I want to have the same form on multiple different product pages, the only difference is a hidden field that identifies the product name. In the campaign that sits behind that form, I currently would need to have dozens of \"Form Field Value\" condition\\\"Modify Lead's Lists\" action pairs, one for each product name. It's like a huge if..then..else statement. \r\n\r\nIt would be much easier to maintain and clearer to understand if I could simply have one \"Modify Lead's Lists\" action with a reference to the hidden field in it, say %ProductName% (don't care about the syntax) and have that resolved down to the field value at runtime. \r\n\r\nHere's the community discussion with more background https://www.mautic.org/community/index.php/1112-add-lead-to-list-that-matches-value-in-hidden-form-field"},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/165609944","html_url":"https://github.com/mautic/mautic/issues/1152#issuecomment-165609944","issue_url":"https://api.github.com/repos/mautic/mautic/issues/1152","id":165609944,"user":{"login":"alanhartless","id":63312,"avatar_url":"https://avatars.githubusercontent.com/u/63312?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhartless","html_url":"https://github.com/alanhartless","followers_url":"https://api.github.com/users/alanhartless/followers","following_url":"https://api.github.com/users/alanhartless/following{/other_user}","gists_url":"https://api.github.com/users/alanhartless/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhartless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhartless/subscriptions","organizations_url":"https://api.github.com/users/alanhartless/orgs","repos_url":"https://api.github.com/users/alanhartless/repos","events_url":"https://api.github.com/users/alanhartless/events{/privacy}","received_events_url":"https://api.github.com/users/alanhartless/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T23:02:33Z","updated_at":"2015-12-17T23:02:33Z","body":"I'm not sure I'm following the work flow here or able to picture what's desired. You still have to associate the form field's value with the lead list somewhere.  \r\n\r\nSo if I have form field of ProductName with submissions that has values of ProductA, ProductB, ProductC, and ProductD and I want them to be associated with lead lists ListA, ListB, ListC, and ListD respectively.  What does the alternative to the \"huge if..then..else statement\" look like?  If using a reference to the hidden field, how are you picturing the UI to tell Mautic that you want a value of ProductA to go to ListA, ProductB to go to ListB and so forth?"}}