Forum closed. New forum available at http://community.wymeditor.org/

Integration with Jörn's Validate jQuery Plugin

Support forum for WYMeditor.

Integration with Jörn's Validate jQuery Plugin

Postby acatcalledanarchy on Thu Oct 29, 2009 5:26 am

Hi guys,

Firstly, amazing piece of work, very intuitive to use and well documented. I have one query though, I wish to use the WYMeditor alongside Jörn's Validate Plugin (which I'm sure you've heard of):

http://bassistance.de/jquery-plugins/jquery-plugin-validation/

I've integrated both the WYMeditor and the Validate plugin and they work harmoniously side-by-side, however when I create a rule for Validate Plugin stating that the WYMeditor field is required, this seems to get missed by the Validation even though the WYMeditor is empty. I have double-checked content by clicking on the HTML button to delete and sneaky <br />'s that may be there.

Would you be able to advise me further..?

In the meantime, keep up the good work...

Peace, love and flowers

A Cat Called Anarchy :twisted:
acatcalledanarchy
 
Posts: 1
Joined: Thu Oct 29, 2009 5:19 am

Re: Integration with Jörn's Validate jQuery Plugin

Postby mr_lundis on Thu Oct 29, 2009 7:06 pm

Hi there, Anarchy kitten!
When the form is submitted WYMeditor updates the original textarea, replacing any previous contents. I'm guessing that the validation is done before the update, meaning that the textarea won't be empty if you have any previous content. This will happen if you initialize the editor after the validation.

If that's not the case, this will need some further investigation...

Cheers! ;)
Jonatan Lundin - designer, developer and forum moderator. You should follow me on Twitter!
mr_lundis
 
Posts: 335
Joined: Sun Dec 02, 2007 10:59 am
Location: Sweden


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests

cron