Word Count on Input Text Field

Ali_muhammad93 shared this problem 2 months ago
Solved

How can I count the number of words? I need to show the word count, on which multiple calculations are based. Can anyone help ?

Comments (3)

photo
1

Hi there,

You can count the number of characters, but not the number of words. See the attached example to see how to do this.

Best,

Danielle

photo
1

I have already checked this Count method but it is of no use in my context. Is there a way that I can count specific character like (space) through which I can identify the number of characters ? Something Like the below condition

/B82djVKCKY2uAAAAAElFTkSuQmCC

(The text field contains a space)

Thanks for the quick response.

photo
1

We created an example to count 'spaces' rather than the actual words. Check out the attached file.

The events are quite complex, so I would suggest you import this .vp file into your own prototype rather than trying to copy all of the events and variables manually.

photo