is_valid <methodsynopsis> <type>bool</type><methodname>is_valid</methodname> <methodparam><type>bool</type><parameter>formvars</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>bool</type><methodname>is_valid</methodname> <methodparam><type>bool</type><parameter>formvars</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>form</parameter></methodparam> </methodsynopsis> <para> Tests if the current form is valid. You MUST supply the form variable array to this function, typically $_POST. You can optionally pass a form name as the second parameter. Call this after the form is submitted. </para> ¶meter.form; <example> <title>is_valid ]]>