-
- 118 Posts
Hi!
I`m new with contexts. I have a working formit driven simple feedback form in site. I made 2 new contexts, and want forms there too. What is the best solution for redirecting to right thank you -page after sending message on each context?
Or do I have to make new formit calls to every contexts?
Tassu, webmaster of Valokammi
-
- 8 Posts
To to use the same chunk/formit-call in every context, the only way I found is to use Output Filters in the &redirectTo:
[[!FormIt?
...
&hooks=`redirect`
&redirectTo=`[[*context_key:isequalto=`web`:then=`21`]][[*context_key:isequalto=`nameOfContext2`:then=`67`]][[*context_key:isequalto=`nameOfContext3`:then=`102`]]`
]]