Actions based on rules

From: Date: Mon, 29 Oct 2007 05:36:10 +0000
Subject: Actions based on rules
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28133@lists.php.net to get a copy of this message
Hi all, I am using html_quickform for requesting url and tile but i would like to display a check box (continue anyway) if one of the rules (not a valid url) do not pass, at the moment i am doing this: if ($this->validate() && !empty($_POST['url'])) {
      $this->tpl->assign('checkbox',true);
      $this->addElement('checkbox','continue',_('Continue anyway'));
} Is there a way to get the output or the registerRules so later based on that output do some actions? regards.

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