Gossamer Forum
Home : Products : DBMan : Discussions :

Separating lines on "record added"

Quote Reply
Separating lines on "record added"
Is there a way to separate lines from the "Description" field in a submit form on the "record added" page? Maybe with a
or <p> tag?

Quote Reply
Re: Separating lines on "record added" In reply to
When you want paragraph breaks in textarea, what you would do is just leave the empty lines within the textarea.

Then at the top html_record or html_record_long you would add:

$rec{'Description'} =~ s/\n/<BR>/g;

This would have to display the line breaks correctly when you display the record.

Find this and more in the FAQ noted below.

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/