I’m having an issue where the form won’t submit if there are spaces at the end of a field. It’s happening with Contact Form 7. In mosparo, it shows up as ‘Verification failed’.
I’ve tested it with a Contact Form 7, and the mosparo Integration and everything worked as expected.
Do you have the latest versions of the mosparo Integration plugin (1.15.2) and the Contact Form 7 plugin (6.1.5)?
There was an issue in the mosparo Integration plugin before version 1.13.4 with spaces at the end.
If you have the latest version of the plugins, what space/character is visible in mosparo? In mosparo, the spaces at the beginning and at the end of a value are highlighted. With your mouse, you can hover these spaces, and you should see a tooltip with the name of the character. Please let me know which character it is so I can try to reproduce it.
According to the screenshot, it’s a normal text field, right? Can you share the code for that field (for example, [text* …]) in Contact Form 7? Is there anything special regarding this field in the frontend (for example, a WYSIWYG editor or something like that)?
Thank you very much for providing all the information.
I did some more testing and found the issue in a special combination. Yes, the space at the end is a problem, but only because of another character: the quotation mark (“).
If a field contains no quotation mark, the space at the end is no problem. If the field contains a quotation mark but no space at the end, that’s also not a problem. But both characters in the same field is a problem.
I’ve already found a solution for Contact Form 7, but I’ve noticed that many other integrations have the same issue. So I will search for fixes for the other integrations as well and release a new version of the integration plugin in the next few days (probably Saturday/Sunday).