Posted 11 years 10 months 3 weeks ago.

Was trying to redirect on a form submission to an achor tag on the same using
??>

But it turns out that the result of the $form_state['redirect' actually causes redirection to "spinner%23spinned", with the passed url being URL-Encoded.

Passing an absolute URL to this solved it!
$form_state['redirect'] = $base_url . 'spinner#spinned';
??>

Add new comment

Submitted by tanay on Sat, 05/05/2012 - 07:36