Update Version 1.1
-------------------------
Added option to force user to answer all questions.
New ZIP file attached in first post.
To upgrade manually, you can do this:
1) In form.php, find:
PHP Code:
////////////////////////////////////////////////////////////////////////////////////////////////////
//TITLE OF FORM (do not use quotation marks or you will get a parse error)
////////////////////////////////////////////////////////////////////////////////////////////////////
Above ADD:
PHP Code:
////////////////////////////////////////////////////////////////////////////////////////////////////
//FORCE USER TO ANSWER ALL QUESTIONS - 1 = yes, 0 = no
////////////////////////////////////////////////////////////////////////////////////////////////////
$answerall = "1";
2) Then, find:
PHP Code:
if ($action=="submit") {
Below, ADD:
PHP Code:
if ($answerall == "1") {
if ($normalanswer1 == '' OR $radioanswer1 == '' OR $radioanswer2 == '' OR $radioanswer3 == '' OR $radioanswer3other == '' OR $answer1 == '' OR $answer2 == '' OR $answer3 == '' OR $longanswer1 == '')
{
$errormessage = "$bbuserinfo[username], you need to answer every question!";
eval('print_output("' . fetch_template('STANDARD_ERROR') . '");');
exit();
}
}
Done!