Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Textarea

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
I am using a textarea for input to describe a product. I need to also have a confirmation page - and i am having problems displaying the text entered. Is it possible to display the information entered in on the confirmation page?

The rest of the information I am displaying, I am using:
<input type = &quot;text&quot; name = &quot;x&quot; value = &quot;#form.x#&quot;>

So I would like to use that type of format.

Is this possible??

Thanks in advance.
 
Well really what kind of problems? Is it that it doesn't display breaks?

Code:
<PRE>#TextareaValueHere#</PRE>
fix that...

Also...

Code:
#Replace(MyTextAreaValue,&quot;#chr(10)#&quot;,&quot;<BR>&quot;,&quot;ALL&quot;)#

will also fix it...

Thanks,
Tony
 
I can get it to display fine, but i would like to display it in an input box (which is how i am displaying everything else)..
 
Are you using an <input> box or a <textarea>? They are slightly different. Your input should work, unless you did not wrap it in a <cfoutput> tag.

For textarea it would be

<textarea name=&quot;x&quot; rows=&quot;10&quot; cols=&quot;20&quot;>#form.x#</textarea>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top