0

Is it possible to use a stash variable as a parameter further down the template.

{exp:stash:set name="logged_in_user"}{screen_name}{/exp:stash:set}


{exp:freeform:entries form_id="0" site_id="0" search:foo="{exp:stash:get name='logged_in_user'}"}

    {freeform:field:branch} <br/>{screen_name}

{/exp:freeform:entries}
1

Add the parameter parse="inward" to the Freeform tag and you should be good to go.

It seems you can’t pass tags to the special search: parameter. Even parse="inward" doesn't work. Here you can find exactly how you can solve your issue.

2
  • Hi, that has no effect? Any ideas? cheers. Oct 19 '15 at 8:42
  • I added the correct solution to my answer. This time I tested it. ;) Oct 20 '15 at 6:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.