Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Forminator Redirect URL Encode (New Line) Missing

$
0
0

Replies: 0

Hi Team,

I created Forminator Form with Redirect URL as Submission Behavior.

The URL is going to WhatsApp with pre-text message that populated some data from the fields.

This is the URL:
https://api.whatsapp.com/send/?phone=62811xxxxxxx?text=%2AHello%20Seller%2A%20My%20name%20is%20{name-1}%2C%20and%20my%20email%20is%20{email-1}”

All is good, unless the new line encode. It was missing in the URL, but I see in the database, %0A still there.

I have been using this code because by default Forminator will remove the unicode:
https://gist.github.com/wpmudev-sls/3e51498af6dbe48788b7923667e84cf3

Please help.

Thank you.


Viewing all articles
Browse latest Browse all 59525

Trending Articles