April 15, 201312 yr 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
April 15, 201312 yr Solution You could try having another field displayed that uses the GetAsCSS calculation: http://www.filemaker.com/12help/html/func_ref3.33.54.html
April 16, 201312 yr Author 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
April 16, 201312 yr 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.
Create an account or sign in to comment