#2883 Question validation: Strip Punctuation, Require minimum Word Count
We would like to add two more validations to all question areas in the system.
1 - add a config variable called "minimum_question_word_count". Set this to 5. If a user enters a question that is less than 5 words in length, show the error message:
"Elaborate on your question by adding a few more words"
2 - strip punctuation. We should not allow punctuation within questions other than ? marks. We can strip this in real time.
3 - Make the first letter of the first word Upper, and the rest of the words lowercase. We can perform this on submit, we do not need to do this in real time.
Join the Discussion