Sterc / FormIt

A dynamic form processing Snippet for MODX Revolution
https://docs.modx.com/current/en/extras/formit
32 stars 58 forks source link

FormIt 4.2.0 + math. Always incorrect answer #200

Open Paintrain86 opened 5 years ago

Paintrain86 commented 5 years ago

For examle, site: funspbtours.com MODX version: 2.7.0 Extras: AjaxForm(1.1.9) + FormIt. Using Math hook for captcha. ( form example - https://funspbtours.com/contacts.html ) Previous FormIt version - 2.2.0. Recently updated to 4.2.0 As a result, it's always "Incorrect answer".

Request example:

nospam:blank    
pagetitle   Contacts
link    https://funspbtours.com/contacts.html
name    test
phone   +79046666666
useremail   eww@asd.ds
text    testing+website+form
math    73
op1 47
op2 26
operator    +

Removing fields op1, op2, operator from form fields leads to the same result.

hugopeek commented 5 years ago

My math hooks still work after updating FormIt to 4.2.1 (with MODX 2.7.1). I'm not using AjaxForm though..