• Resolved nsity

    (@nsity)


    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’.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Matthias Zobrist

    (@zepich)

    Hi @nsity

    Thank you very much for your report.

    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.

    Kind regards,
    zepich / mosparo Team

    Thread Starter nsity

    (@nsity)

    Yes, I have the latest versions of mosparo (1.15.2) and Contact Form 7 (6.1.5) installed.

    When hovering over the character, it displays “space”

    Plugin Support Matthias Zobrist

    (@zepich)

    Hi @nsity

    Thank you very much for the confirmation.

    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)?

    Kind regards,
    zepich / mosparo Team

    Thread Starter nsity

    (@nsity)

    Yes, it’s a normal text field [text text-1091 placeholder "Место работы (с указанием структурного подразделения организации)"]

    Plugin Support Matthias Zobrist

    (@zepich)

    Hi @nsity

    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).

    Thank you very much for your help!

    Kind regards,
    zepich / mosparo Team

    Plugin Support Matthias Zobrist

    (@zepich)

    Hi @nsity

    We’ve just released v1.16.0 of the integration plugin, which fixes the issue with the quotation mark and the trailing space.

    Thank you very much for your help in fixing this bug!

    Kind regards,
    zepich / mosparo Team

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.