Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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

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

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?

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 [ ]

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.