Wim Posted September 30, 2010 Posted September 30, 2010 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?
Valentin Posted October 11, 2010 Posted October 11, 2010 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.
Recommended Posts
This topic is 5168 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