Basic field word count question
Marian Petrides
mpetrides at earthlink.net
Sun Nov 21 14:58:33 EST 2004
A quick and dirty way to do this would be to include the following in
the script of the text entry field, assuming that the field in which
you want the work count to appear is named "Word Count"
On mouseWithin
put the number of words in me into NumWords
put NumWords into line 1 of field "Word Count"
end mouseWithin
Hope this helps.
Marian
On Nov 21, 2004, at 2:33 PM, Salinas, Ruben (GE Healthcare) wrote:
> My apologies for the simplicity of the question, but I'm just starting
> out with RunRev. Question is, how should I create a field on a card
> that displays the word count on a second field where the user is
> writing text? I would like the first field (word count) to recalculate
> automatically every time field 2 content changes.
>
> Thanks in advance for the replies.
>
> Harvjag
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list