Jump to content

Field Formatting in CWP


sternopygus
 Share

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

Recommended Posts

Hi.. I'm using CWP and xsl stylesheets to view records, but I can't get the xsl code to display the fields formatting I applied in the FMP database.

For example, I have a summary field that calculates the average, in the FMP db the average formats as 2 decimal place (i.e, 34.55), however in the xsl formatting I get 34.5549785945. I've tried using html_encode and break_encode and they don't work.

In the old FMP 5.5 w/CDML I could just add use [FMP:field, format]. The CDML converter says this is no good, and converts using html_encode, but that doesn't work.

Any suggestions would be greatly appreciated.

thanks

Link to comment
Share on other sites

This topic is 5670 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
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.