PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > Multipage form keeps getting back to home page
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Multipage form keeps getting back to home page

Réponse
 
LinkBack Outils de la discussion
Vieux 25/04/2008, 09h57   #1
postseb
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 !
  Réponse avec citation
Vieux 25/04/2008, 12h13   #2
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 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
==================

  Réponse avec citation
Vieux 25/04/2008, 12h36   #3
postseb
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 !
  Réponse avec citation
Vieux 25/04/2008, 13h13   #4
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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@attglobal.net
==================

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h26.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08287 seconds with 12 queries