The Question
Question: TinyMCE form validation problems ?
When I use TinyMCE on my web forms and try to validate that the text area is not empty, it doesn’t work.
i.e. there is text in the box but it says it’s empty.
If I remove TinyMCE then my validation javascript/jquery recognises properly that the textarea is not empty hence won’t throw the error.
Any ideas on what’s happening here ?
3 Answers
Answers are Closed
This question is closed to new answers.
Other Questions
-
Question: Firefox Vs Chrome ?
-
Question: ATI 5770 Hawk – How To Overclock ?









You might want to try the following code snippet. This will copy across what’s in the TinyMCE texteditor to the original one.
$('#submit').click(function() { var content = tinyMCE.activeEditor.getContent(); // get the content $('#question_details').val(content); // put it in the textarea });Sorry mate but I can’t see the code snippet ?
Ok sorry for the late reply, but yeah the above worked great!!!
Thanks