on Fck editor
Posted: Wed Apr 22, 2009 4:27 am
Hi,
my actual requirement in my project is,
we want a editor to post comments on page.I used Fckeditor for this.Also we need validations for that.
a)If any user tried to submit the form without entering the values in the body of Fck editor, i want to give a alert to enter message in the body(condiion is message should be less than 250 characters).
b) second thing is that,if any user entered empty lines means if user entered spaces,
then also we need to alert the user that enter some message
c)lastly,if any user entered multiple of empty lines(ex:if user clicked on enter button continously in the body of Editor) then also we need to alert.
i need a code which will be applicable to above mentioned points.
Also one more main thing is......Bold is not working properly in google chrome.....
can u pls help me in doing this task.
Thanks in advance,
madhu.
my actual requirement in my project is,
we want a editor to post comments on page.I used Fckeditor for this.Also we need validations for that.
a)If any user tried to submit the form without entering the values in the body of Fck editor, i want to give a alert to enter message in the body(condiion is message should be less than 250 characters).
b) second thing is that,if any user entered empty lines means if user entered spaces,
then also we need to alert the user that enter some message
c)lastly,if any user entered multiple of empty lines(ex:if user clicked on enter button continously in the body of Editor) then also we need to alert.
i need a code which will be applicable to above mentioned points.
Also one more main thing is......Bold is not working properly in google chrome.....
can u pls help me in doing this task.
Thanks in advance,
madhu.