Newbies tacitus Posted July 10, 2001 Newbies Posted July 10, 2001 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.
dspires Posted July 10, 2001 Posted July 10, 2001 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.
Newbies tacitus Posted July 11, 2001 Author Newbies Posted July 11, 2001 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
dspires Posted July 11, 2001 Posted July 11, 2001 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].
Recommended Posts
This topic is 8804 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 accountSign in
Already have an account? Sign in here.
Sign In Now