How to avoid of using words without much sense By Piotr Burchart Hi, Is there any option to how to avoid of typing “crap” words within data entry field , to short or sentences without much sense? Thanks for help, Piotr
Daniel Brigham Hero 1 year ago10/28/19 at 5:45 pm (UTC) Hi, Piotr: I'm not sure what you mean. Could you give a specific example? Context would help us help you. Thanks, Daniel
Matthew Bibby Hero 1 year ago10/28/19 at 8:35 pm (UTC) Do you mean you want to prevent people from typing nonsense like "asdfasdfasdf asdf asdf afsddfsaadsf"? Because no, there isn't an easy way to avoid this.
Piotr Burchart Author Matthew Bibby 1 year ago10/29/19 at 9:00 am (UTC) Hi Daniel and Matthew, Yes, how to prevent people from typing nonsense like the above. Is there any way to do it? Thank you for any suggestion/help Piotr
Matthew Bibby Hero 1 year ago10/29/19 at 10:03 am (UTC) I looked into this for you and found a JavaScript library called gibberish_detector.js which should tell you the likelihood that the given text is gibberish. Unfortunately, there are concerns about its accuracy. Anyway here is a demo and here is the source file. After publishing, you need to edit the story_html5.html file and include the following before the closing </head> tag: <script src="https://cdn.jsdelivr.net/npm/gibberish-detector@1.0.0/index.min.js"></script> Let me know if you have any questions.
Piotr Burchart Author 1 year ago10/29/19 at 10:13 am (UTC) Thank you so much Matthew. Will back to you ASAP.
5 Replies
Hi, Piotr: I'm not sure what you mean. Could you give a specific example? Context would help us help you. Thanks, Daniel
Do you mean you want to prevent people from typing nonsense like "asdfasdfasdf asdf asdf afsddfsaadsf"?
Because no, there isn't an easy way to avoid this.
Hi Daniel and Matthew,
Yes, how to prevent people from typing nonsense like the above.
Is there any way to do it?
Thank you for any suggestion/help
Piotr
I looked into this for you and found a JavaScript library called gibberish_detector.js which should tell you the likelihood that the given text is gibberish.
Unfortunately, there are concerns about its accuracy.
Anyway here is a demo and here is the source file.
After publishing, you need to edit the story_html5.html file and include the following before the closing </head> tag:
Let me know if you have any questions.
Thank you so much Matthew.
Will back to you ASAP.