Form validation on FrontEnd with WYSIVYG textarea

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
esmiran

Form validation on FrontEnd with WYSIVYG textarea

Post by esmiran »

I need to use the WYSIVYG editor on FrontEnd. As written in the documentation, I added {cms_init_editor} to Page Metadata.
Then, in the form template, I call the editor with the command:

Code: Select all

{cms_textarea enablewysiwyg=true id=id_content name=$tmp value=$content required=true}
But not working if the parameter "required=true", the form can not be submited even when the content is filled in.
When I change to "required=false", it goes, but it does not check if the user has inserted some text.
It looks like validation does not work when using WYSIVYG editor ... Is there any way to know if the user has written something before Submit?
Post Reply

Return to “The Lounge”