Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi,

 

I'm using web viewer to display some formatted text from field and I'm unable to find out how to get same formatting in iwp. In filemaker everything looks correct but in iwp there isn't any word wrapping. I was thinking I'll replace CR with <br> tag but I need functionality in filemaker and in iwp. I've tried safari, chrome, firefox, IE all behave same.

 

Any idea?

 

Thank you

 

AD

 

Posted

Yes that's the trick! Only thing you need to take care is replace double quotes with single ones. Web viewer doesn't like them.

 

Thank you

Posted

Yes, by using GetAsCSS calculation you can get rid of special characters to display on web-viewer.

 

Example-

 

TextField_xt = "This is a css text.
This is not a plain text.
"

 

TextFieldToCss_cn = GetAsCSS (TextField_xt) will give you the CSS code/text like -

 

<SPAN STYLE= "" >This is a css text. This is not a plain text.</SPAN>

The resultant CSS text field can then use in web-browser which reformat the CSS text and show you original text.

 

This is a css text.
This is not a plain text.

This topic is 4308 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.