So export_to_template context only allows to the template containing the parameter to use it. To do this you can do a few things. Query param, local storage or cache. For your use case and reliability (thanks safari) query paras will be the best method!
{% for item in module.repeater %}
<a href="{{ item.url ~ "?param=" ~ item.value }}">Apply</a>
{% endfor %}
You can then access this value on the redirected page using:
I am not sure how is it possible to pull location and job role from previous page , but i can give alternative solution regard job page
You should make a job description template which include the Form section (which take detail of candidate) and a Text Content where you can add Job Role and details. Just create page for your job from job description template and add link in your Job listing i.e in Repeater apply button respectively.
Hope this helps! If we were able to answer your query, kindly help the community by marking it as a solution. Thanks and Regards.
So export_to_template context only allows to the template containing the parameter to use it. To do this you can do a few things. Query param, local storage or cache. For your use case and reliability (thanks safari) query paras will be the best method!
{% for item in module.repeater %}
<a href="{{ item.url ~ "?param=" ~ item.value }}">Apply</a>
{% endfor %}
You can then access this value on the redirected page using: