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

Having a word counter display next or as part of a text field


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

Recommended Posts

Posted

Hi,

 

I have to write articles that are 350 words in length.  My "default" word counter is MS Word so I have to copy and paste what I'm writing into Word to get the current word count.

 

Does FMPro have a word count feature? 

 

How do I set it up?

 

Want to say I've had lots of help on this forum and want to thank you ahead of time!

 

David

Posted

Have another field that's a calc field - WordCount(YourField)

 

It will update whenever you click out of the main field. FileMaker sometimes has an odd idea of what constitutes a word, but it will give you an idea

Posted

FileMaker help

 

 

WordCount
Purpose 
Returns a count of the total number of words in text.
 
So conditional formatting with If ( WordCount ( my::field ) > 349 )
rtfm?
Posted

Does FMPro have a word count feature? 

David

 

 
To count the words while they are typed, you could use a Web Viever with this calculation:
"data:text/html,word count: " & WordCount ( Get ( ActiveFieldContents ) )

refreshing the screen with a script fired by an OnObjectModify trigger.

 

 

You could even use a simple merged $var placed on the layout, something like:
 
word count: <<$count>>
 
always refreshing the screen with a script, fired by an OnObjectModify trigger, like:
 
Set Variable [ $count ; value: WordCount ( Get ( ActiveFieldContents ) ) ]
Refresh Window [ ]

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