Jump to content
Server Maintenance This Week. ×

web viewer + iwp + word wrap


AlesD

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

Recommended Posts

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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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