I'm writing a custom profile form page, that will lead the viewer through different sections. I'm able to display each section properly, using categories, but instead of having a submission at a category go back to the profile view (which seems to be the default), I want a form submission to go to the next category form page.
What function should I use for this?
I've been looking at drupal_goto as a solution, but after reading the docs, it looks like that will go to the new page immediately. I'm not sure how safe that is, and if I do it, when should I? During the hook_user 'update'? 'Validate?'
A year and a half ago, in this topic, moshe weitzman suggested using a combination of menu_set_active_item and menu_execute_active_item. However, menu_execute_active_item doesn't seem to exist any longer.
Any ideas? Maybe there's an easier way to set a form's destination page without all this hassle, and I just don't know about it yet.
Thanks,
Aaron
Culture Fix Web Identity & Design
Digital Folk Art (my blog)