I am using the system custom module delete item form. Is there a way to have it redirect after confirmation?
Adding <input type="hidden" name="redirectURL" value="/page">
doesn’t work in this case.
I am using the system custom module delete item form. Is there a way to have it redirect after confirmation?
Adding <input type="hidden" name="redirectURL" value="/page">
doesn’t work in this case.
Hi @Rhatch. You can use the redirectURL
function as a parameter in the forms action URL instead. Actually, when you add the delete form from the component manager it includes this already so it may already be present, eg:
Thanks Adam. I was just adding an extra " in front of my path. " get me every time.