Re: multi-page forms

2007-05-24 Thread [EMAIL PROTECTED]
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

Re: multi-page forms

2007-05-05 Thread CraZyLeGs
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"

Re: multi-page forms

2007-05-04 Thread halebs
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

Re: multi-page forms

2007-04-21 Thread Chris Lamb
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

Re: multi-page forms

2007-04-21 Thread keymaster
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

Re: multi-page forms

2007-04-20 Thread Dr. Tarique Sani
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:

RE: multi-page forms

2007-04-20 Thread Mariano Iglesias
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

Re: multi-page forms

2007-04-20 Thread Dr. Tarique Sani
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

Re: multi-page forms

2007-04-20 Thread Aannd duhan
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

Re: multi-page forms

2007-03-02 Thread fr3nch13
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

Re: multi-page forms

2007-03-02 Thread keymaster
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

Re: multi-page forms

2007-03-02 Thread keymaster
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

Re: multi-page forms

2007-03-01 Thread lukemack
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

Re: multi-page forms

2007-03-01 Thread Toby Parent
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

Re: multi-page forms

2007-02-28 Thread lukemack
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

Re: multi-page forms

2007-02-27 Thread Chris Hartjes
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

Re: multi-page forms

2007-02-27 Thread lukemack
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

Re: multi-page forms

2007-02-25 Thread Toby Parent
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

Re: multi-page forms

2007-02-23 Thread lukemack
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

Re: multi-page forms

2007-02-23 Thread jitka
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

Re: multi-page forms

2007-02-23 Thread Chris Hartjes
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

multi-page forms

2007-02-23 Thread lukemack
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