Jump to content

Display FileMaker Text Field Formatting through PHP API


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

Recommended Posts

I have a website that is displaying FileMaker data using the PHP API. Is there a way for the web site to display the basic text formatting from a FileMaker field? For example, a few words in the comments field are bold in FileMaker and I would like them to also be bold on the website. Thanks for any ideas.

Link to comment
Share on other sites

This is true for FileMaker 11, unless FileMaker made some serious upgrades to their php api after this; here is my piece of advice. As a rule of thumb what you export when you export to XML for FileMaker is what you can bring to the web. That said I'd imagine you can make a supporting field that holds the info you are after.

Edited by ggt667
Link to comment
Share on other sites

It looks like you should be able to do GetAsCSS( fieldname ) and then use the output of that in its own field. No need for supporting/shadow field: http://www.filemaker.com/help/12/fmp/html/func_ref3.33.54.html Yet you will have to override CSS font or be stuck with whichever font is put inside FileMaker by the looks of it.

Edited by ggt667
Link to comment
Share on other sites

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