Skip to main content
Inspiring
June 26, 2018
Question

Textarea field - Keep Formatting - pass through url

  • June 26, 2018
  • 1 reply
  • 530 views

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?

This topic has been closed for replies.

1 reply

WolfShade
Legend
June 27, 2018

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,

^ _ ^