|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 ! |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 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@attglobal.net ================== |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 ! |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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@attglobal.net ================== |
|
![]() |
| Outils de la discussion | |
|
|