Multipage form keeps getting back to home page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • postseb

    #1

    Multipage form keeps getting back to home page

    Hello !

    I created a long multipage form using the methods I found here :
    http://www.phpriot.com/articles/multi-step-wizards/5 to be then
    included in a Drupal node - in short it is a way to use sessions for
    dealing with form data, instead of hidden types.

    I replaced <?= $_SERVER['PHP_SELF'] ?with my specific node (e.g. ?
    q=node/10) in the following line :
    form method="post" action="<?= $_SERVER['PHP_SELF'] ?>?action=<?=
    $wizard->getStepName( ) ?>"

    But every time I click on the Previous or Next (submit) buttons of the
    multipage form, I keep getting back to the home page (although it
    seems the form has processed the data and switched to the other page
    as can be seen when I come back to the node).

    Any clues much appreciated !

    Thanks !
  • Jerry Stuckle

    #2
    Re: Multipage form keeps getting back to home page

    postseb wrote:
    Hello !
    >
    I created a long multipage form using the methods I found here :
    http://www.phpriot.com/articles/multi-step-wizards/5 to be then
    included in a Drupal node - in short it is a way to use sessions for
    dealing with form data, instead of hidden types.
    >
    I replaced <?= $_SERVER['PHP_SELF'] ?with my specific node (e.g. ?
    q=node/10) in the following line :
    form method="post" action="<?= $_SERVER['PHP_SELF'] ?>?action=<?=
    $wizard->getStepName( ) ?>"
    >
    But every time I click on the Previous or Next (submit) buttons of the
    multipage form, I keep getting back to the home page (although it
    seems the form has processed the data and switched to the other page
    as can be seen when I come back to the node).
    >
    Any clues much appreciated !
    >
    Thanks !
    >
    I would suggest asking in the help forums on drupal.org. They know how
    the software works; we don't.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • postseb

      #3
      Re: Multipage form keeps getting back to home page

      Sure I did Jerry... but without any answers yet in the Drupal forum
      and thought there could be some easy fixes modifying the action page
      of the multipage form.
      Thanks anyway !

      Comment

      • Jerry Stuckle

        #4
        Re: Multipage form keeps getting back to home page

        postseb wrote:
        Sure I did Jerry... but without any answers yet in the Drupal forum
        and thought there could be some easy fixes modifying the action page
        of the multipage form.
        Thanks anyway !
        >
        Not from here. I doubt anyone here knows much about the innards of
        Drupal. I'm even struggling to build a theme for it right now.

        When dealing with products, you're always better asking the support
        forum/mail list/whatever for that product. You won't find anyone here
        who knows more about the internals than the product developers.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        Working...