Chronoforms V4.0.4 w/ Joomla 3.2
When I add php to the Security Question, it will break the eval on the form. The Security Question module splits the security question text on "=", but doesnt account for if that "=" is inside a php block or not.
I fixed this by evaling the security question before it was prossessed into questions and answers.
I changed line 22 of /administrator/components/com_chronoforms/form_actions/load_security_question/load_security_question.php
From: $q_as = explode("\n", $actiondata->content1);
To: ob_start(); eval('?>'.$actiondata->content1); $q_as = explode("\n", ob_get_clean());
When I add php to the Security Question, it will break the eval on the form. The Security Question module splits the security question text on "=", but doesnt account for if that "=" is inside a php block or not.
I fixed this by evaling the security question before it was prossessed into questions and answers.
I changed line 22 of /administrator/components/com_chronoforms/form_actions/load_security_question/load_security_question.php
From: $q_as = explode("\n", $actiondata->content1);
To: ob_start(); eval('?>'.$actiondata->content1); $q_as = explode("\n", ob_get_clean());