Is there a way to use "Redirect to DispForm" on an EditForm?
- This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › Classic DFFS › Is there a way to use "Redirect to DispForm" on an EditForm?
Hello –
I love that you added this redirect feature for new form, and the return to edit form from edit form. Is there any way I an go from edit form to display form with the code?
Thanks.
Christine
I’m glad you like the new feature. There is no dedicated “button” to do this, but you can use this code snippet in the Custom JS in EditForm:
spjs.dffs.redirect(location.href.replace(/editform.aspx/i,"DispForm.aspx"),false);
Alexander