I'm adding a url in the message body containing content from the submitted form. However the data is not being encoded so for example the notes field (except for the first word) is not included in the url.
Any ideas how I might encode the input?
e.g.
http://someurl.com/surv.getname?xconame=text-19&xtelno=text-231&xfirst_name=text-43*xlast_name=[text-654]&xtitle=[text-506]&xemail=[email-765]&xurl=[text-781]&xcomments=[textarea-888]
Appreciate the help.
~mf