I think Nathan’s suggestion is working! : API request data from text input with line break - #4 by basssab ( Send Multiple Lines - Part 1.mp4 on Vimeo )
JS
var text = `text input`;
var encoded_text = encodeURI(text);
return encoded_text;
( replace the text input with your input component.)
But I think like Nathan said if you do this with Sendgrid there is no way to decode it. But here’s a great way you can do this! No Encode,Decode and it’s with a simple js script!
Here’s a video : Send Multiple Lines - Part 2.mp4 on Vimeo
And the JS :
var text = `text input`;
var modified_text = text.split('\n').join('\\n');
return modified_text;
( add your input in the text input area. )
Information for Download Arbitrary JavaScript Component! : PragmaFlow's Adalo Marketplace Reopened - YouTube
Pragmaflow Website : https://adalo.pragmaflowservers.com/install-component
Component you need :
Thank you