Currently, I am attempting to validate text (paragraphs) in JavaScript for a multiline textbox. The requirement is that after entering text into the textbox, the very first letter should be changed to a capital letter while the rest should remain in lowercase. Additionally, after a full stop, the first letter of the following sentence should also be a capital letter. I also need to incorporate the textchange event.
As a newcomer to JavaScript, I find this Proper Case validation quite challenging. I am struggling to come up with a starting logic... Any ideas or suggestions would be greatly appreciated.
Thank you in advance.