Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Global Attribute Textarea now showing space and lines?  (Read 4264 times)

Offline timlo

  • Newbie
  • *
  • Posts: 32
  • Karma: +3/-0
    • View Profile
Global Attribute Textarea now showing space and lines?
« on: August 26, 2015, 07:36:14 AM »
I'm trying to play around with Global Attributes  which has a textarea,

when I try to doing a testing products has a textarea, and I tried to enter some text in space and lines and it appear on order like

Line1 : Testing 1
Line2 : Testing 2
Line3 : Testing 3
 
and make order, and in the checkout page. It will show
 - Notes/Instruction Line1 : Testing 1rnLine2 : Testing 2rnLine3 : Testing 3

that show some strange character and , like rn  / , and does there is any way to correct this to show correctly?

Thank you

Offline webdevmerc

  • Full Member
  • ***
  • Posts: 172
  • Karma: +32/-1
    • View Profile
Re: Global Attribute Textarea now showing space and lines?
« Reply #1 on: August 26, 2015, 08:20:33 AM »
I'm totally guessing here, but maybe it has to do with how the data is entered and newlines/carriage returns?

http://programmers.stackexchange.com/questions/29075/difference-between-n-and-r-n

Offline timlo

  • Newbie
  • *
  • Posts: 32
  • Karma: +3/-0
    • View Profile
Re: Global Attribute Textarea now showing space and lines?
« Reply #2 on: August 26, 2015, 09:13:02 AM »
thank you for reply, I am not programmer and not really sure how to fixed this, I am wonder how to turn those into readable format, I am planning to do personalized engrave items, so it is very easy to make mistake when I am copy customer entered text.

thank you for all suggestion

 

Powered by SMFPacks Social Login Mod