Form not redirecting

BWPanda - November 13, 2009 - 00:13
Project:Custom (Form) destination
Version:6.x-1.4
Component:Miscellaneous
Category:support request
Priority:critical
Assigned:Unassigned
Status:active
Description

I've setup one of my forms to redirect to a thank you page, however it keeps trying to show the node that was just created, and because users aren't allowed to see that node type, get an access denied message...

I've got two custom destinations setup, one works, the newer one doesn't. Both point to to the same thank you page. Could that be the reason?

#1

BWPanda - November 13, 2009 - 00:27
Priority:normal» critical

Correction, neither of my forms are redirecting... I even tried changing the page they redirect to, still can't get it to work.

#2

BWPanda - November 13, 2009 - 00:38

I checked the code and it seems my custom destination page is being correctly added to the form's #redirect key, something must be stopping it redirecting after that...

#3

BWPanda - November 13, 2009 - 01:04

But it does work when I try to delete a node - it redirects instead of deleting it...
I have to delete nodes from '/admin/content/node'.

 
 

Drupal is a registered trademark of Dries Buytaert.