• Resolved jorgeadlgf

    (@jorgeadlgf)


    Hi, I love using Forminator for many different reasons.
    Recently, one of those reasons needed me to use the built-in feature of pre-populating fields using query parameters, and it worked, except that when using more than two words, Forminator ignores “%20”, which stands for spaces, and instead you get a paragraph without spaces, all together.

    I don’t have a link to my webpage, as right now it is hosted locally before uploading changes to the real website, but it is quite easy to replicate, you just need to pass a sentence as a query parameter, and set up a Forminator field with the pre-populated option linking to the query parameter.

    I hope you can look into this and fix it, other than that the plugin is awesome to use.
    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @jorgeadlgf,

    Do you have AJAX enabled? ie under Behavior > Rendering > Load form using AJAX when you edit the form?

    It seems like I could only replicate this issue when AJAX is enabled. I’ll make sure this bug is looked at by our Forminator team asap.

    Meanwhile, you can disable AJAX as a workaround to get the spaces working.

    Thanks for bringing this to our attention; we appreciate it. Have a nice day ahead.

    Best Regards,
    Nithin

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @jorgeadlgf,

    If you are looking to make it work with AJAX, you could also use “+” instead of “%20”, ie for example:
    abc.com/?myname=John+Doe

    Using plus(+) sign should work irrespective of Ajax enabled/disabled.

    Regards,
    Nithin

    Thread Starter jorgeadlgf

    (@jorgeadlgf)

    Disabling Ajax rendering did the trick, as well as using + instead of %20. Either worked just as well, but I decided to disable ajax rendering.

    Thank you very much for the support, it is greatly appreciated.
    I wish everyone on the team a wonderful Christmas.

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

The topic ‘No spaces when using Query Parameters to Pre-populate’ is closed to new replies.