Etwas
public text v1 · immutable if (arg(0) == "mysite" && arg(3) == "new") {
if (isset($_POST['form_id'])) {
$form_id = $_POST['form_id'];
$question = str_replace("_node_form","", $form_id);
$node = array("type" => $question);
$form = drupal_retrieve_form($form_id, $node);
drupal_prepare_form($form_id, $form);
drupal_validate_form($form_id, $form);
drupal_submit_form($form_id, $form);
drupal_get_messages();
drupal_goto(arg(0) . "/" . arg(1) . "/" . arg(2));
}