NameCheck not working in TYPO3 4.7.14 standard form
I noticed that the NameCheck option does not work as expected. Even with score set to 1, a form with same values in firstname, lastname is sent and not blocked.
How are the "prename" and "lastname" fields to be named?
The only reference I found is in the intro of the documentation and there they are called "prename" and "lastmane".
After altering my form accordingly, it still does not work.
My take is: with the new standard form, the fieldnames are "wrapped" in the name of the form:
<input name="myForm['prename']> ...</form>
Assuming that 'prename' and 'lastname' may be hardcoded (?) for this check, could this be the reason why it doesn't work in my install?
On the other hand, I added a
die(); statement (to see what is given in $additionalValues) in
typo3conf/ext/wt_spamshield/Classes/Methodes/class.tx_wtspamshield_method_namecheck.php and nothing broke - the form was submitted.
The honeyPot check does work, though.
Excuse me if I missed something obvious (like naming convention of the field for this check).
Keep up the good work,
#2 Updated by Bjoern Jacob almost 6 years ago
- Status changed from New to On Hold
- Assignee changed from Ralf Zimmermann to Tom no-lastname-given
- Target version deleted (
We've checked the problem. Please check our documentation (see http://docs.typo3.org/typo3cms/extensions/wt_spamshield/1.1.0/#compatibility). Right now it's not possible to have a name check within the default mailform (ext tx_form). The validation process does not allow checking 2 or more values against each other. The validation is only field-wise.
We have to store the field values somewhere (e.g. session) and compare the values. This is a bit more complex and we don't include it in version 1.1.1.
Are you interested in sponsoring this feature? That would be great. With some Euros you support the further development. You'll be listed as a sponsor inside the manual.