• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Textarea field - Keep Formatting - pass through url

Participant ,
Jun 26, 2018 Jun 26, 2018

Copy link to clipboard

Copied

I have this field where my users can enter notes

<textarea id="solution" cols="150" rows="10" name="notes" ></textarea>

The value "notes"  field gets passed to another page through the url.

The problem is that the line breaks/paragraph returns/formatting doesn't get saved

they filed gets passed like this

http://abc.corp.cfm?Load=40156&notes=AB

How can I pass the notes field through the url where the formatting is kept?

Views

436

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 27, 2018 Jun 27, 2018

Copy link to clipboard

Copied

LATEST

I don't think you can do that via URL parameter.  Unless you use JavaScript, I guess, to replace line breaks with <br /> and stuff like that.  But that would be extremely tedious, not guaranteed to work, and you'd have to then encode for URL, then restore it on the other side.

Why can't you POST the form, instead of GET?

V/r,

^ _ ^

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation