14 Jan
2008
14 Jan
'08
6:37 p.m.
If the only thing you want to do is redirect the user after form submission, just set the #redirect property of the form. $form['#redirect'] = 'my/custom/path'; Alternatively, you could call your form with a parameter: http://example.com/my/form?destination=my/custom/path If you want to do some more advanced processing, I would put the additional information you want to add in a form element of type 'value', and it will be available in the form validation and submit handlers without ever appearing to the user. $form['my_custom_path'] = 'my/custom/path';