From: Shimon R. <sh...@ru...> - 2003-02-17 17:24:51
|
Putting <!-- <form/> --> in my template didn't change anything. Using the $model->pkit_internal_execute_redirect as suggested by Ben Ausden did exactly what I needed though; it didn't even clobber the value originally in that form field. Is the regular internal_redirect method intended to skip executing model code? This seems strange to me and probably ought to be documented, along with the pkit_internal_execute_redirect method. With the execute_redirect, everything works as I want it to, and it works in both GET and POST methods. Terrific. Thanks! shimon. On Mon, Feb 17, 2003 at 01:22:34AM +0100, Boris Zentner wrote: > > Hi Shimon, > > Am Montag, 17. Februar 2003 00:21 schrieb Shimon Rura: > > Hi, > > > > I just started using PageKit and I love it! However I am having some > > problems with form validation. I have a form with a dropdown-box populated > > with a MODEL_LOOP, and it shows up properly when first loaded but no model > > data seems to get through when the user is redirected back to the form with > > validation errors. This happens with GET and POST form methods. Any > > suggestions on fixing this? > > lets see some code, your tmpl and the part of your Config.xml. > > did it change anything, if you write > > <!-- <form/> --> > > anywhere in your tmpl file? > > > > > shimon. > > > > > -- > Boris > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Pagekit-users mailing list > Pag...@li... > https://lists.sourceforge.net/lists/listinfo/pagekit-users |