Skip to main content
November 1, 2006
Question

javascript problems in MX7

  • November 1, 2006
  • 1 reply
  • 364 views
I have noticed a lot of problems with mixing javascripts in a CFFORM in MX7. I use the cfinput tag alot and use the required="yes" feature which creates all this javascript in the source code. I previously posted a thread about my popup windows not closing anymore since MX7 when the form in the popped up window is submitted. It gens a javascript error that is very obscure, and doesn't close.
Now I'm having another problem after integrating a third-party WYSIWYG editor into my form. As soon as I turn the editor on, all my javascript checks that verify all the required fields are filled out are ignored and you can submit the form when it is blank. As soon as I rem out the WYSIWYG editor code, the checks kick back in. Has anyone else noticed problems mixing javascripts in CFFORM?
    This topic has been closed for replies.

    1 reply

    November 2, 2006
    I've since gotten this to a point where I can use onBlur validation even when I can't use onSubmit. The problem with onBlur is it doesn't force the user to complete the field before it will submit. It is essentially just a warning so it doesn't do me any good. I tried taking out all my ColdFusion validation and wrote all my own javascript, but found that the WYSIWYG editor field value doesn't get submitted when the form submits. I'm wracking my brain to find a happy medium. Has anyone else tried working with Innova Studio's WYSIWYG Editor? Any successful deployments in a cfform?