Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I cannot believe this has not been answered before... searched the forum couldn't find anything.

I want to display a large, formatted text field on the web. The field's content goes as such:

-Cinolas Smith at 13:00 on 05/31/04

-Julie Thompson at 14:30 on 05/29/04

-Brad Whatever at 11:00 on 05/19/04

and so on. But the field is displayed without the carriage returns so like :

-Cinolas Smith at 13:00 on 05/31/04-Julie Thompson at 14:30 on 05/29/04-Brad Whatever at 11:00 on 05/19/04

My first attempt was to create a WEB version of this field so as to include some formatting such as :

-Cinolas Smith at 13:00 on 05/31/04<BR>

-Julie Thompson at 14:30 on 05/29/04<BR>

-Brad Whatever at 11:00 on 05/19/04<BR>

But the <> were converted so has not to be interpreted by the HTML as code and my <BR> showed up as :

&#60;br&#62;

So my question is:

How does one format large text field so as to include carriage returns ?

OR

How does one gets the HTML code in a text field to be interpreted as code and not text.

Thanks to all

  • Newbies
Posted

Hi,

I have the same problem: I want to display HTML in a text field on the web. . .

Where do you use the "[FMP-Field:myfield, raw]"? Does this go in the definition of the field somewhere?

Mark

Posted

Hi, Mark! Unless I am mistaken, I believe Garry's reference is to the CDML custom web page where you want to show the data on, e.g. mydetailpage.html. The field contents can be plain text and can contain HTML tags in them... thisfieldname = "<B>THIS IS IN BOLD</B>". So, on the web format page mydetailpage.html, you would have

[FMP-field:thisfieldname, raw]

I've used BREAK before, but not RAW encoding, so it's nice to know there's a use for it. You don't have to mess w/ Define Fields... at all.

--ST

This topic is 7463 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
×
×
  • Create New...

Important Information

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