Character count in notes client
Posted on 2003-11-17
I am new to lotus notes. we are developing a mobile application in lotus notes. I want to implement character counter in notes client. That is as and when the user types I want to show him the number of characters he has typed dynamically. How can I implement this. This is the most important requirement and I have no escape. I know it is possible in web client. But I want to do this in notes client. I have seen the similar functionality in domino designer that is as and when I type the code it shows the column and row count. Are there atleast any DLL's to do this using C API if not lotusscript or formula language.This is urgent. Experts please help.
I will tell you how I have impletented it now I have included the following code in onBlur and onFocus events:
CharacterCount += RtBody.value.length;
var NumMsgs = 1;
if (CharacterCount > 160 )
NumMsgs =CharacterCount / 160;
window.status="Charater Counter "+CharacterCount +"(" + parseInt(NumMsgs) +")";
But this does not serve my purpose.
Any quick exact help will be very greatful
Thanks in advance.