September 30, 201015 yr I am running into an error when I use this function. I am trying to get a word count on a paragraph that is written in html. I have a field that looks like this: word count = WordCount(RemoveHTMLTags(HTML Text)) I am using php to display this number on a webpage. When I display the field word count on a layout in Filemaker, I get a good number. However, whenever I display the same field in a php page, it shows 0. The wired thing is if I change the formula to word count = WordCount(html text) and change nothing else it works fine...although the answer is wrong because of all the extra HTML code. This is my first attempt to use any ScriptMaster script functions, so it there something I do't know abouthte vlaues it returns?
October 11, 201015 yr You probably don't have the plugin installed in Web Publishing, and the WordCount is doing a count of "?" b/c it doesn't know about the RemoveHTMLTags function.
Create an account or sign in to comment