Anyone have a solution for the Back button problem here? I don't think
it's right for the state to entirely be based on the session
information because the user can get to the recap screen, click the
browser back button to the beginning of the wizard, resubmit the first
page, and FormWizard will i
It's a bug in the component:
initWizard has default prefix set to _Wiz
function initWizard(& $ways, $prefix = "_Wiz")
While clearWizard ( and the methods it calls ) has _Wizard.
function clearWizard($prefix = "_Wizard")
function clearStep($prefix = "_Wizard")
function clearData($prefix = "_Wizard"
Anyone using the FormWizard component every have trouble with the
wizard session vars NOT being cleared in the last step? I am doing a
pr($SESSION) on pages after the form submission and I still see the
_Wizard array set. I am clearing the related session vars manually by
using $this->Session->del
keymaster wrote:
> One has to first do a proper search for the solution.
One does not simply search into Mordor.
--
Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20
signature.asc
Description: PGP signature
One can't just request $1M on this forum urgently and expect to be
answered.
One has to first do a proper search for the solution.
Kindly post your solution if you figure it out. :-))
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On 4/20/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote:
>
> See Tarique? Sarcasm gets to you as well from time to time, I'm not the only
> one ;)
>
Sarcasm? You and google just blew my chance to make a million...
T
--
=
PHP for E-Biz:
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Dr. Tarique Sani
Enviado el: Viernes, 20 de Abril de 2007 08:37 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: multi-page forms
Please transfer $100
On 4/20/07, Aannd duhan <[EMAIL PROTECTED]> wrote:
> but its not working please explain a step by step implementation for
> that.
> Means where to put $ways.which will be the starting function that i
> have to pass in url.
> Its urgent plz
Please transfer $1000,000 to my Swiss Bank accoun
want to make forms for the way: register->leagueregister->payment-
>recap
How to use form wizard for this way.
I have put form wizard in component
I have loaded it into my controller i.e users_controller
I have action and validate action and .thtml related to all steps.
I have put $ways array int
rstand what can be
> abstracted out of routine multi-page forms processing. It was a good
> exercise.
>
> For those interested, looks like the cake wizard would save the
> following code every step of the way:
>
> 1. Navigation
>
>
> - your code doesn
Had another look at the form wizard.
Studying the code in more detail helped me understand what can be
abstracted out of routine multi-page forms processing. It was a good
exercise.
For those interested, looks like the cake wizard would save the
following code every step of the way:
1
I have an app already coded, which takes the user through a multi-
page form. But now that I've heard about the form wizard, I am
wondering if it would be worth integrating what I already have, with
it.
I would happily turf any of my existing code which the wizard makes
redundant.
I looked thro
sume you mean the browser back button? I guess there are three
> >>> options - sessions, database and hidden fields. If the user hits
> >>> 'back' - is the session data lost? do hidden fields get lost? would
> >>> using a database help?
>
> >> Ye
gt;>>
>> Yeah, I'm talking about the browser back button. Unless you can
>> completely disable it, you can run into problems in multi-page forms.
>> Sessions are the best way to go because even they use the back button,
>> the next time they load a page the s
help?
>
> Yeah, I'm talking about the browser back button. Unless you can
> completely disable it, you can run into problems in multi-page forms.
> Sessions are the best way to go because even they use the back button,
> the next time they load a page the session data should stil
27; - is the session data lost? do hidden fields get lost? would
> using a database help?
>
Yeah, I'm talking about the browser back button. Unless you can
completely disable it, you can run into problems in multi-page forms.
Sessions are the best way to go because even they use the ba
Thanks toby. One thing it should say is that you need to rename the
file to form_wizard.php in order to get it to work at all! Do you have
any example controller code you could post? so far i have:
array("start","register","submit"),
"registered" => array("start","login","submit
Yeah, the FormWizard is interesting, and does work. However, the
documentation is spotty, and the terminology is ... odd.
Ways = possible paths through your multi-page form. For example, say
you've got (like you said) a registered-members only review form. The
ways might be:
unknownWay = arra
thanks guys. the FormsWizard looks interesting. What does the author
mean by 'ways'? Bit of an odd term to choose. Routes through the form?
Chris - can you elaborate on the problem with the back button? I
assume you mean the browser back button? I guess there are three
options - sessions, databa
Search snippets at cakeforge .org for FormWizard component - it stores
info in session and handles validation for every step as well as data
from multiple models used in different form steps.
--~--~-~--~~~---~--~~
You received this message because you are subscrib
On 2/23/07, lukemack <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> does anyone know of a tutorial regarding multi-page forms in cakephp?
> What I'm going to be doing is a form which allows the user to submit a
> review, then after the first page submit, they get a a registr
hi,
does anyone know of a tutorial regarding multi-page forms in cakephp?
What I'm going to be doing is a form which allows the user to submit a
review, then after the first page submit, they get a a registration
form (only registered users can submit reviews). registered users can
login
22 matches
Mail list logo