Quote:
Originally Posted by bananalive
Form Hook: Before Submit:
PHP Code:
if ($q[25]!=1)
{
$complete = false;
$inputerror[25] = "Not accepted rules";
}
replace 25 with the question hash
|
Thanks, i mean something elste, but this is good too
BTW: I mean ... user fill form, click on [Submit] button and PHP warning popped up with Text like "Do you accept the rules?" and [Yes] / [No] choice. Click on "Yes" - submit form, Click on "No" - nothing happend, just back on form (php warn disappear).
But thanx, your script is usefull for me too