Dynamic Questions and Anwers Fields

GoleyC 31 Oct, 2012
We have been having some problems with bots submitting our form, even though we have captcha setup and working.

Therefore, we would like to setup a set of questions, maybe five, that only humans could answer and have those questions randomly pulled so that the same question does not come up each time but randomly picks one of the five.

An example question would be like this:
What is the fourth and fifth characters in this string of characters between the brackets [u4c&3>@-]
Answer would be: &3

The answer is then validated when the form is submitted.

Is there a way to do this and how is it setup?

Craig
GreyHead 31 Oct, 2012
Hi Craig,

Use the Security Question actions - they are set up to do this. Please see this FAQ which has an example using simple sums - but the same method will work for other kinds of question.

Bob
GoleyC 03 Nov, 2012
Thanks, got them working.

Now, one last questions; the text field is very long so it sits next to the form field. However, we would like for the questions to be directly above the form field so that it is not smashed up against the form. How does one do that?
GoleyC 04 Nov, 2012
The questions work great.. however for some reason they are not being forced to be validated.

We have under the Validation tab the checkbox for "Required" checkmarked. However, if we do not post the same answer to the security questions, the form is still submitted and does not error out. So, we have tried everything, but nothing so far seems to get it to error out.

What should we look for and what should we try and do to get the validation to work like it should?

Craig
GreyHead 04 Nov, 2012
Hi Craig,

I'm away travelling this week so can't easily check the code.

I think that the 'Label over' setting might fix the layout?

I think that there is a Check Security Question action that needs to go at the beginning of the On Submit event.

Bob
GoleyC 04 Nov, 2012
I've tried the label over feature.. it didn't change anything. I'll have to look at the other feature to see what it does.

Enjoy your travels... when you get the time... have a looky.

Craig
This topic is locked and no more replies can be posted.