March 30, 20178 yr 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.
March 30, 20178 yr 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 March 30, 20178 yr by ggt667
March 30, 20178 yr don't know that you can... but perhaps if you have a shadow field that uses GetAsCSS() on your original field, that could give you something to work with?
March 30, 20178 yr Author Thanks, Wim. That was suggested elsewhere as well. I'm going to try it a little later and I'll post back with the results.
March 30, 20178 yr 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 March 30, 20178 yr by ggt667
Create an account or sign in to comment