I seriously have gotten lost and tried several approaches to "simplifying" the math question for security on my client’s "Contact" page, but haven’t been able to tweak it successfully.
Would anyone know how I can change the Math question to a single digit question instead of double digits on Formit (Modx Revolution 2.0.8), like how Evo has it in eForm?
I’ve edited these lines in the Formit snippet:
$mathMaxRange = $modx->getOption('mathMaxRange',$scriptProperties,1);
$mathMinRange = $modx->getOption('mathMinRange',$scriptProperties,1);
In addition, I’ve tried to adjust the [[!Formit properties]] as such, to no avail:
[[!FormIt? &hooks=`spam,email,math,redirect` &emailTpl=`sendMailTpl` &emailTo=`[email protected]` &redirectTo=`74` &validate=`
date:required:isDate=`%m/%d/%Y`,
Name:required,
Email:email:required,
Title:required,
Company:required,
Sector:required,
Inquiry:required,
Message:required:stripTags,
Details:required,
mathMinRange:1,
mathMaxRange:1`
&errTpl=`<br><div class="error" style="text-align:left; color:#999; font-weight:bold; font-size:12px; font-style:normal; float:left; ">[[+error]]</div>`
&store=`0` ]]
No matter what I do, nothing has worked. check it out:
http://ahminc.com/ahm-inc/index.php?id=7
I know, I know, it sounds silly, but apparently in the Marketing Communications Industry (B2B sector), I was told that these people don’t have the time to figure out a double digit math question. Utterly ridiculous to me, but a real time issue and brain buster for them.
I am running out of time on this simple little issue. All help is appreciated.
Sincerest regards,
Kurt