• Resolved funcialfont

    (@funcialfont)


    Hello All!

    Wordpress: v5.3.2
    Contact Form 7 Multi-Step Forms: v4.0.1 (free version)

    My multi-step forms have been working perfectly for many months. Suddenly, the form submissions (sent to me via email) have plus signs in place of spaces. Here’s an example:

    I+bought+this+item+in+Jan+2020,+and+have+used+it+only+once.

    Where might I even begin to look for a possible cause / solution?

    Any assistance is greatly appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author webheadcoder

    (@webheadllc)

    Hi,

    The easiest way to troubleshoot this is to deactivate all other plugins. If you can’t do that, you’ll need to try and remember what plugins you activated recently.

    You could also try create a CF7 form without multistep and see if you still get the plus signs. If you still get it, then it’s likely the plus signs are getting inserted when the email is sent. If you don’t see the plus signs, it’s likely the plus signs are being inserted when the cookie is saved.

    Thread Starter funcialfont

    (@funcialfont)

    Hi webheadcoder,

    Thank you for your reply!

    I have tried the following:

    1) I deactivated all other plug-ins (there are only two aside form Contact Form 7 and Contact Form 7 Multi-Step Forms. With only Contact Form 7 and Contact Form 7 Multi-Step Forms activated, I tested the form and the form submissions still had the plus signs instead of spaces. I re-activated the two other plug-ins.

    2) I created a simple one-step form using Contact Form 7 and tested. The plus signs were gone. Spaces were spaces in the information submitted.

    Based upon what you’ve written, this would indicate that “plus signs are being inserted when the cookie is saved.”

    Is there perhaps a solution for this? Would Contact Form 7 Multi-Step Forms Pro (using Sessions) maybe alleviate the plus sign problem?

    Thank you for any additional thoughts/suggestions!

    Plugin Author webheadcoder

    (@webheadllc)

    Awesome! Thank you for trying everything out.

    I think the Pro version would probably work, but if you could bear with me a little longer, I’d like to try to solve the problem without you needing to upgrade.

    The problem is definitely with setting/getting cookies in PHP. What version of PHP are you on and have you recently changed PHP versions?

    Do the plus signs appear on the website when you display previous values (using the multiform tag)? Are you able to provide a url to your form?

    • This reply was modified 4 years, 9 months ago by webheadcoder.
    Plugin Author webheadcoder

    (@webheadllc)

    Ok, seems there’s a bug in PHP 7.4 and a fix is on the way:
    https://bugs.php.net/bug.php?id=79174

    Your host just needs to update to the latest version when it becomes available. (if you’re on 7.4)

    Thread Starter funcialfont

    (@funcialfont)

    Hey webheadcoder!

    Thank you much! That was an easy fix!

    I did not think to question PHP. I was using PHP7.4. I switched to PHP7.3 and voilà – the plus signs were gone (and the spaces were back).

    I won’t change PHP again until I see 7.5 =)

    Thank you, thank you, thank you!

    Plugin Author webheadcoder

    (@webheadllc)

    Oh good! Glad it was an easy fix. Thanks for the update.

    If you’re enjoying the plugin and have some time, please consider writing a review. It helps me out a lot. I would say it boosts my morale, but your responses and appreciation already did that. Thanks!

    Thread Starter funcialfont

    (@funcialfont)

    Aloha webheadcoder!

    With pleasure, I have submitted a LONG overdue review of your incredible plugin.

    Thank you for all that you do!! =)

    Plugin Author webheadcoder

    (@webheadllc)

    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Plus Signs in place of Spaces in Form Submissions’ is closed to new replies.