For longer text fields, e.g. writing sections of a book, having a word counter is useful, so I hacked this together.
Usage in a Math-type field, with the name of Words:
count({*Text*}) + sum({*&Words*})
This will give the count of words in the current node's Text field added to all its child nodes' word counts. This can then be shown in the treeview headers and/or the output, as well as visible in the Data Edit view.
Could probably be dressed up a bit with a better RE? Don't know, but open to ideas and feedback. Would love to see this feature in the main release.
For longer text fields, e.g. writing sections of a book, having a word counter is useful, so I hacked this together.
Usage in a Math-type field, with the name of
Words
:count({*Text*}) + sum({*&Words*})
This will give the count of words in the current node's
Text
field added to all its child nodes' word counts. This can then be shown in the treeview headers and/or the output, as well as visible in the Data Edit view.Could probably be dressed up a bit with a better RE? Don't know, but open to ideas and feedback. Would love to see this feature in the main release.