I am creating a web site that will allow users to upload a Word document. I can create a simple upload form, but I would really like for a user to get a word count of their document before they actually upload the file.
Ideally, a user would get an immediate count after choosing the file they would upload, and then the user choose to go ahead and upload the file. An example of what I mean can be found on this page: https://www.kibin.com/upload
The integration of word count and upload option isn't essential. That is, I'd be happy just to allow users with a way to get a quick automatic count of a file and then selecting the same file again in a different form to upload it.
If anyone knows how this can be done, I'd be grateful. I've searched for days and can't find anything.