Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP tinymce, validation issue
    primarykey
    data
    text
    <p>I'm using tinymce on my CMS page and facing a issue for require validation (jquery). Everything goes well but when I'm inserting only date{DATE d/m/Y} using editor. jquery validation do not goes off.</p> <p>I mean if only date is there it creates a problem if I give white space after or before that validation works well. But why validation don't work when only Date{DATE d/m/Y} is there ??</p> <p>What should I do to resolve this ?</p> <pre><code>tinyMCE.init({ theme : "advanced", theme_advanced_toolbar_align : "left", height : "400px", mode: "exact", elements : "description", plugins : "autolink,lists,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,ibrowser", setup : function(ed){ ed.onKeyUp.add(function (ed, event) { tinymce.triggerSave(); $("#EditView#description").trigger({type: 'keyup', ctrlKey: event.ctrlKey, altKey: event.altKey, which: event.keyCode, event:eventObject }); }); }, theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect", theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor", theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen,ibrowser", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage", theme_advanced_toolbar_location : "top", width: "100%", inline_styles : true, directionality : "ltr", entity_encoding: 'raw', cleanup_on_startup : true, strict_loading_mode : true, convert_urls : false, remove_redundant_brs : true, plugin_insertdate_dateFormat : '{DATE '+df+'}', content_css :cssurl+"/includes/style/style.css", }); </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload