Welcome Guest, Not a member yet? Register   Sign In
Textarea field/data does not recognize "New Line"
#1

[eluser]justmelat[/eluser]
I searched thru the forums but didn't see this exact issue. I did see messages regarding textarea fields adding additional lines, but in my case, there is no line return captured at all.

In my CodeIgniter application, the user selects a textArea field as an input field for their app and enter lengthy text that requires the use of the return key. Example they enter two paragraphs of info, and want to see the space between the paragraphs. When the data is submitted to the db from that field and then displayed in the detail section, the application does not capture the pressed of the return key, so all the text is strung together. [See example].

I enterd three lines in my textArea field, hitting the return after the first two lines, but when I display the data, the line returns are not captured.

Does anyone know how I can resolve this?

[linux server, CI verions '1.7.1']


Messages In This Thread
Textarea field/data does not recognize "New Line" - by El Forum - 02-22-2011, 09:23 AM
Textarea field/data does not recognize "New Line" - by El Forum - 03-11-2012, 12:09 PM
Textarea field/data does not recognize "New Line" - by El Forum - 03-12-2012, 12:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB