i have rarely been so frustrated trying to get something to work... first it works, then it doesn't. it took me at least 10 hours of keyboard time to finally find the answer, and it seems really unbelievable....
when you fill out the form, the answer must be all lower case! it doesn't matter what case you set the answer to in the load security question event in the form wizard, and since i decided to ask questions that all the answers were names of people, it was a matter of deleting everything several times and starting over, and over, and over before i finally stumbled upon the ugly truth.
i'm so burned
when you fill out the form, the answer must be all lower case! it doesn't matter what case you set the answer to in the load security question event in the form wizard, and since i decided to ask questions that all the answers were names of people, it was a matter of deleting everything several times and starting over, and over, and over before i finally stumbled upon the ugly truth.
i'm so burned
Hi Mapes,
You are right :-( I didn't know that it behaved like that - I think I've always used math questions.
The code responsible is at line 28 of /administrator/components/com_chronoforms/form_actions/load_security_question/load_security_question.php
Ideally the Check Security Questionaction should do the same conversion.
The workaround is probably to add this in a Custom Code action before the Check Security Question action:
Bob
You are right :-( I didn't know that it behaved like that - I think I've always used math questions.
The code responsible is at line 28 of /administrator/components/com_chronoforms/form_actions/load_security_question/load_security_question.php
foreach($answers as $k => $answer){
$answers[$k] = strtolower($answer);
}Ideally the Check Security Questionaction should do the same conversion.
The workaround is probably to add this in a Custom Code action before the Check Security Question action:
<?php
$form->data['chrono_security_answer'] = strtolower($form->data['chrono_security_answer']);
?>Bob
This topic is locked and no more replies can be posted.
