redirect after edit in place edit

By: Massimiliano Mollo | Asked: 05/19/2022
ForumsCategory: General questionsredirect after edit in place edit
Massimiliano Mollo asked 3 years ago
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
Bobby Clapp replied 3 years ago

I believe you will need to play around with ajaxcomplete -> https://api.jquery.com/ajaxcomplete/.

1 Answers
John YoungJohn Young answered 3 years ago
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&param2&param3 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  

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right