Text Area Box Input

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
draneb
Captain (CAPT)
Captain (CAPT)
Posts: 314
Joined: Sun Jun 12, 2005 4:07 pm
Location: Texas
Contact:

Text Area Box Input

Post by draneb » Wed Apr 14, 2010 2:07 pm

Hello,

I am just curious if this would be an easy fix or not. I have always dealt with this issue since running AbleCommerce.

I use a template with a Text Area Box on my site so that my customers can enter personalization text.
Well, unfortunately, it does not display sentence breaks (enter key) either on the screen through the checkout process, in the admin upon completion of the order, or on the confirmation emails.

For example, if the customer enters

Happy Birthday
04-14-2010

It will display it all on one line like this
Happy Birthday 04-14-2010

You can see where this can be a problem because I have no idea how they want the text formatted since it doesn't retain the [enter] key input.

Do you have any suggestions or fix for this?
Thank you!
AC 7.0.3 build 13937

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Text Area Box Input

Post by mazhar » Thu Apr 15, 2010 7:36 am

Instead of text area box makes use of simple text box with input mode MultiLine.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Text Area Box Input

Post by AbleMods » Mon Apr 19, 2010 12:55 pm

Something like this will help in that situation....

Code: Select all

<asp:TextBox ID="txt_Comment" runat="server" Text="" Width="300" TextMode="MultiLine" Rows="5"></asp:TextBox>
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply