/** * Check if the form is submitted by validating the value of the hidden * vf__dispatch field. * * @param boolean $blnForce * Fake isSubmitted to true to force field values. * @return boolean [description] */ public function isSubmitted($blnForce = false) { if (ValidForm::get("vf__dispatch") == $this->__name || $blnForce) { if ($this->__usecsrfprotection && !$blnForce) { return CSRF::validate($_POST); } else { return true; } } else { return false; } }