- This topic has 2 replies, 2 voices, and was last updated 9 months ago by .
-
Topic
-
Hi Guys,
the required validation not working with wysiwyg editor, it works only if i switched to the text tab, but with visual tab it is not working at all.
$meta_boxes[] = array( 'id' => 'news_event_meta', 'title' => 'Events', 'post_types' => 'news', 'priority' => 'high', 'visible' => [ 'slug:tax_input[news-categories]', 'in', [ 'events' ] ], 'fields' => array( array( 'name' => 'Event Agenda ?', 'id' => 'event_agenda_check', 'type' => 'checkbox', 'std' => 0, // 0 or 1 ), array( 'name' => 'Agenda', 'id' => 'event_agenda', 'type' => 'wysiwyg', 'raw' => false, 'visible' => array( 'event_agenda_check', true ), 'required' => true, ), ) );
Thank you for you hard work.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.