Re: DOFormBuilder update-freeze Problem

From: Date: Thu, 02 Dec 2004 06:01:01 +0000
Subject: Re: DOFormBuilder update-freeze Problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15958@lists.php.net to get a copy of this message
On Tue, 30 Nov 2004 15:42:06 +0100, Alexander Petri <alex.petri@gmx.de> wrote: > i have a problem with my Form > that has a crosslinkTable > everything works fine > but if i call: > > if($form->validate()){ > $form->process(array(&$builder,'processForm'),false); > $form->freeze(); > $smarty->assign('userdataChanged', true); > } > > FB shows all changes, but not the changes in my CrosslinkTable > it shows the state before update, but if i call the EditData Form again: > the changes in crosslinks are saved as i prefered. > It's quite possible that the crosslink/tripllink code doesn't catch newly submitted values. In fact, it seems quite likely that this would happen as the crosslinks and triplelinks are created differently than the rest of the form. I would tend to miss such bugs as I nearly always redirect the user after a submit. This is good practice as it removes the posted info from the browser's history. I'll take a look at this as soon as I can, but if you could narrow it down to a smaller bit of code that would help. As Markus said, that's a lot to go through. Lastly, it's best to wait a few days at least before asking for help again. Sometimes people are simply too busy (or sick) to respond to e-mails. -- Justin Patrin

« previous php.pear.general (#15958) next »