Wysiwyg Required Validation Not Working

Support General Wysiwyg Required Validation Not Working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20646
    ossama saeedossama saeed
    Participant

    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.

    #20648
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I'm going to check it out and let you know later.

    Thank you.

    #20761
    ossama saeedossama saeed
    Participant

    Hi,

    Any updates ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.