What does the checkbox "Return the result as var?" under the Switch function do? Any examples of how one would use it?
Many thanks -
-Brian
Many thanks -
-Brian
Hi Brian,
Let's assume you use {view:some_view} in the switch, that would just call view and display it, but if you set the "return as var", then the view output (or any other call) will not be displayed and will be available under the {var:switch_name} like other functions returns.
best regards,
Max
Let's assume you use {view:some_view} in the switch, that would just call view and display it, but if you set the "return as var", then the view output (or any other call) will not be displayed and will be available under the {var:switch_name} like other functions returns.
best regards,
Max
This topic is locked and no more replies can be posted.