Forminator Redirect URL Encode (New Line) Missing
-
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/3e51498af6dbe48788b7923667e84cf3Please help.
Thank you.
- The topic ‘Forminator Redirect URL Encode (New Line) Missing’ is closed to new replies.