What is the form ID of a submitted Webform to perform a custom redirect? Once the webform is submitted, I need it to be redirected to edit form page where user can edit that form again.

I know is at webform-&gt;components-&gt;form settings and choose custom redirect. What is the value I should key in (since form ID is always different)?
There are number of ways to do this:


Use rules on event "After saving a node" -> condition : "node is of type webform" -> action : "add redirect" ; path : node/[nid]/webform. Note: [nid] might not be the exact token, but you'll get the exact token in the replacement patterns in the Rules UI.
Implement hook_node_insert in your custom module which triggers after every new node is created, check for the $node-&gt;type if it is of type webform, and use drupal_goto to redirect to the form components page. Path node/{$node-&gt;id}/webform.
Alter the node_form for webform to add a submit handler and use
form_state['redirect'] = 'node' . $form_state['nid'] . '/webform';