I don't use TinyMCE but I have a similar problem with FCKEditor and
Codepress (both JS based rich-text editors).

Usually, these RT editors update the contents of the field/textarea
element just before the form is submitted, which probably happens
after your validation.

I work around it by manually updating the value of the field/textarea
before I call the validation/submit the form.

Hope that helps.

On Jun 7, 9:59 am, "Luc Pestille" <[EMAIL PROTECTED]> wrote:
> Hi all,
> I have a problem when using a TinyMCE replaced textarea as a field that
> needs validating - validate() requires me to press submit twice before
> the field is recognised as filled - I presume because the actual
> underlying textarea is empty until TinyMCE copies content back into it
> on submit.
>
> Has anyone found a way around this? Do I have to validate() the TinyMCE
> input iframe(?) rather than the text box?
>
> Thanks,
> Luc Pestille
> Web Designer
>
> in2, Thames House, Mere Park, Dedmere Road, Marlow, Bucks, SL7 1PB
> tel: +44 (1628) 899700  |  fax: +44 (1628) 899701  |  email: [EMAIL 
> PROTECTED]  |  web:www.in2.co.uk
> This message (and any associated files) is intended only for the use of 
> jquery-en@googlegroups.com and may contain information that is confidential, 
> subject to copyright or constitutes a trade secret. If you are not 
> jquery-en@googlegroups.com you are hereby notified that any dissemination, 
> copying or distribution of this message, or files associated with this 
> message, is strictly prohibited. If you have received this message in error, 
> please notify us immediately by replying to the message and deleting it from 
> your computer. Messages sent to and from us may be monitored. Any views or 
> opinions presented are solely those of the author jquery-en@googlegroups.com 
> and do not necessarily represent those of the company.
>
>  in2logo_long.gif
> 13KViewDownload

Reply via email to