Re: QuickForm using freeze() as a preview

From: Date: Wed, 25 Oct 2006 20:45:07 +0000
Subject: Re: QuickForm using freeze() as a preview
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25642@lists.php.net to get a copy of this message
Hi, Charles Kline wrote:
Charles Kline wrote:
If I am using freeze() in my form to give the user a preview of the submitted data before processing, how do I then POST the frozen form for processing? What is the method to use when doing this?
You usually post the form by clicking a submit button.
This much I understand. Let me clarify... once the form has been submitted and frozen() if the submit button is then clicked again, how do I check for this so I can process the data and not freeze() on the second submit. Is this more clear?
$hidden =& $form->addElement('hidden', 'is_this_actually_a_second_submit'); $hidden->setValue('this is exactly the case!');

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