Jump to content

text problem in text area


abkaplan
 Share

This topic is 7275 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Our users send passages in to my database using a text area. When I want to re put them on web page in a fmp-field, tabs and blank lines can not be seen as in a text are so the shape of my passage collapses.

What can I do to put my text coming from db on my pages as I sent them to database in a text area without using a text area which limits the length of my passage and force my users use scrollers and avoid printing them.

Link to comment
Share on other sites

For the text to display on the web, create a calculation field. If the comment field is 'comment', create one called 'comment_html', for instance. It should be a calculation set to:

Substitute(comment, "***new paragraph symbol***", "<br>").

In your CDML, the tag will look like: [FMP-field: comment_html, Raw].

Link to comment
Share on other sites

This topic is 7275 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.