Re: [Formsess-devel] validating & saving
Status: Beta
Brought to you by:
mrkatana
From: Katana <ka...@ka...> - 2004-05-22 15:10:38
|
>>Hmmm... but what's the difference between "auto-saving form data" and >>"saving data in the session" ? There is no other data container that the >>session is there ? Or do you just mean change Formsess::getValue() so >>that it does not take the values from the session but from the form data >>itself ? > > Yes. (you might want to read my email again). ;) Hmm yes. Indeed. Sorry 'bout that. So yes, I agree, that would be a more logical way. Much more logical. And indeed there is no reason to save data if they're just gonna be used in the current script and reseted at the end. But how would you handle the fact of having to save all the form data when a check fails ? It is necessary since the form will have to be displayed again. Then reset() will be necessary anyway since form data might have been saved anyway... Katana |