July 10, 200124 yr Newbies It does not seem to be working and I have no idea why. Is there a place I can find information on how to use calculation fields to provide HTML information or do you have another suggestion? This is assuming that the calculation you gave me should have mimicked the CDML tag with the raw attribute.
July 10, 200124 yr The calculation doesn't mimick the CDML tag, it replaces paragraph returns (which are ignored by the browser) with a <br> tag which will instert a line return. The calculation work in conjunction with the 'Raw' attribute in the field tag. I don't have access to FMP 5 right now and don't use the instant publishing feature. I'm assuming there's a way to identify web formatting for fields. In the long term, I STRONGLY recommend using custom web publishing pages.
July 11, 200124 yr Author Newbies I hope someone can help. When converted to the built-in web page, fields are stripped of any extra white space. This makes nice formatting difficult. Q: Is there some way to have the white space recognized or is there another method for creating space. I am limited to the built-in web publisher. Not my decision, but I have to live with it. Your help is greatly appreciated. Jeremy
July 11, 200124 yr 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].
Create an account or sign in to comment