Hi all,
Thanks to help I received here I almost have my memo field outputing correctly. Here is where I'm stuck:
When i retrieve the memo field "memLetter", I'm using the following code to remove the double quotes that are added by the textfield and to show repeating spaces (these work just fine):
*********************code begin*************************
*********************code end**************************
The output retains all spacebar presses and the quotes are gone and hard returns are retained BUT long sentences that wrap inside the textarea box don't wrap on the page - they actually push the table cell they occupy to become much wider than the screen! What is it about the above code that is causing this? I'm assuming it has to do with the above code since a straight output of a long memo field obeys the normal rules of textwrap on the viewed page.
Thanks in advance for any insight and thanks to those who got me this far.
Thanks to help I received here I almost have my memo field outputing correctly. Here is where I'm stuck:
When i retrieve the memo field "memLetter", I'm using the following code to remove the double quotes that are added by the textfield and to show repeating spaces (these work just fine):
*********************code begin*************************
Code:
<cfset noquotes=#replace(memLetter,"#chr(34)#","","all")#>
<cfset noquotesandreturns=#replace(noquotes,"#chr(10)#","<BR>","all")#>
#replace(noquotesandreturns,"#chr(32)#"," ","all")#
The output retains all spacebar presses and the quotes are gone and hard returns are retained BUT long sentences that wrap inside the textarea box don't wrap on the page - they actually push the table cell they occupy to become much wider than the screen! What is it about the above code that is causing this? I'm assuming it has to do with the above code since a straight output of a long memo field obeys the normal rules of textwrap on the viewed page.
Thanks in advance for any insight and thanks to those who got me this far.