html_quick_form Clear submitted values
| From: | Nicolas de Bari Embriz Garcia Rojas | Date: | Wed, 24 Oct 2007 05:20:21 +0000 |
| Subject: | html_quick_form Clear submitted values | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-28114@lists.php.net to get a copy of this message | ||
I want to continue showing the form after users have submited the data, what i am currently doing is this
// Try to validate a form
if ($form->validate()) {
$form->process();
$form->displayForm();
} else {
$form->displayForm();
}
but that shows the previous submited values, is there a way of show the clean form again?
regards.