Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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?

  • 2 weeks later...
Posted

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.

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 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.