Forums

Form via Menu

zymurgy42 31 May, 2015
SImple form with chrono_security_question.

When form is tested stand-a-lone, works as designed, email works.

Form called via Menu system (hidden menu link). Form name is correct in Options. Form Loads OK. I have nothing in EVENT. couldn't find any documentation to help me with EVENT.

I called the form via link: product-information-request?subject=Planetary Cake Mixer - Atlas SH101 and passes the subject to the form.

Form loads, subject is correct. When I submit form, it fails with: You have entered a wrong security question's answer.

This method worked fine with a V4 form.

Thoughts. Form is not available via web, local wampserver test platform.

Gordon.
GreyHead 31 May, 2015
Hi Gordon,

Please check from the View Form link in the Forms Manager. Does the form submit correctly from there?

If it does, please try setting Relative URL to NO in the form HTML (Render Form) action. (If you are using the Simple Wizard you need to change the Form Type to Advanced to see this action on the Setup tab)

Bob

PS The Menu Event setting can be left empty - it defaults to the form On Load action. You only need an entry there if you want the menu item to load a different form event.
zymurgy42 31 May, 2015
Bob,

That fixed it! Why?

Thanks.

Gordon.
zymurgy42 31 May, 2015
Bob,

I have since broken it again. I noticed some small errors with field names (CASE) and why not showing results in email. I tidied those up and same issue. Form works PERFECTLY from the VIEW FORM section.

I put the debugger just before the loop in the fail section and it shows: security answer is a NULL!

[newsletter] => Yes
[chrono_security_answer] =>
[button56] => Submit

Then further down;

Array
(
[4] => Array
(
[Check Security Question] => Array
(
[0] => Failed the answer check!
)

)

)
GreyHead 31 May, 2015
Hi Gordon,

Hmmm . . . not sure why that is happening the security question answer should be submitted along with the other form data. Please take a Form Backup using the icon in the Forms Manager and post it here (or PM me to get my email) and I'll take a closer look.

Bob
zymurgy42 01 Jun, 2015
Bob,

Here it is. It's called via a link in an article.

http://abpatlas/product-information-request?subject=Garbin%20104%20Convection%20Oven

product-information-request is the alias for the 'hidden' menu item which is a ChronoForms5 form type with Option form name as product-page

Gordon.
zymurgy42 02 Jun, 2015
Bob,

Have you had a chance to peek at form?

Gordon.
zymurgy42 03 Jun, 2015
Bob,

Further on this, I tried reCaptcha - worked. I tried NoCaptcha, also worked.

But I prefer chrono_security🙂

Gordon.
GreyHead 03 Jun, 2015
Hi Gordon,

The form appears to work correctly when I test it (see here NB the email is disabled).

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