hi i need redirect after edit-in place,based on view ,and not on form is possible?
for example,i have form1,but have two different view,view1 and view2,if i make edit on view1 need redirect view1,and if i make edit on view2 i need redirect on view2
tks
Hi,
While this isn't really an answer to your question, you can always try the following workaround.
You could add into the UPDATE SUCCESS message of the form settings to include a button or link the visitor can click on which redirects them.
- In the settings of the form, change the ON UPDATE message to include a link to go to the second view. eg:
Your entry has been succesfully updated
Click HERE to view changes (This is where you replace the HERE with an HTML < a > link to the redirect URL you want.
You can include any parameters you need in the url passing them with ?param1¶m2¶m3 etc. The view on the redirect page might contain fields that pick up these parameters in the URL to populate the view as needed.
Hope this helps.
John
Please login or Register to submit your answer
I believe you will need to play around with ajaxcomplete -> https://api.jquery.com/ajaxcomplete/.