|
Jason101
Forum Regular
| Joined: 14 Mar 2006 |
| Posts: 548 |
| Location: Harrisburg, PA |
|
 |
Posted: Tue Feb 06, 2007 7:03 pm |
|
 |
 |
 |
 |
I'm using FCKEditor with a custom Coldfusion integration I built. (Which is not related to the problem)
The question is, does anyone know how to clear the contents of the editor via a form button (like a reset button). I know you can click "new page" on the toolbar of FCK, but I don't give users that option, and what to be able to clear it via javascript myself.
Also, Has anyone had any validation problems with FCKEditor. It seems that the editor will validate as "Blank" unless you focus away from the editor (when at that point I assume the contents are copied to the hidden form variable) Then it validates fine
Thoughts anyone?
|
|
|
|
Felixior
|
 |
Posted: Tue Aug 21, 2007 8:10 pm |
|
 |
 |
 |
 |
I have the same question. I must validate through javascript, but according to the script the FCKeditor input field is empty (which is not true). After the alert message I submit again without changes, and this time Javascript sees the text in the input field.
|
|
|
|
Jason101
Forum Regular
| Joined: 14 Mar 2006 |
| Posts: 548 |
| Location: Harrisburg, PA |
|
 |
Posted: Tue Aug 21, 2007 8:47 pm |
|
 |
 |
 |
 |
Felixior,
THe best solution is to use CF8's new richtext area which is FCKeditor on the backend. There is no validation problems like there was before. If you need more info, please let me know.
|
|
|