Redirect with parameters
-
Hi,
I am trying to pass a parameter from an update form to a thank you page. I want to pass the id of the record which is in the querystring (?id=) of the update form. I have seen a similar post on here but I could not get it working based on that. What am I doing wrong? I have tried the following (among a few others).
#1
{% form entity=”contact” mode=”edit” record=currentrecord hide_form=”true” name=”Web Update” parameters={ “id”: params.id } redirect=”/share/?id={{params.id}}” %}#2
{% form entity=”contact” mode=”edit” record=currentrecord hide_form=”true” name=”Web Update” parameters={ “id”: params.id } redirect=”/share/?id=” ~ params.id %}#3
{% form entity=”contact” mode=”edit” record=currentrecord hide_form=”true” name=”Web Update” parameters={ “id”: params.id } redirect=”{{ ‘/share/?id=’ ~ params.id }}” %}Thank you for your help!
- The topic ‘Redirect with parameters’ is closed to new replies.