Help Desk

required fileds submit form

  • Posts: 6237 Topics: 17
    | Permalink

    Hi Patrick!

    Thanks so much for the feedback!

    I could make both, the venue and event category fields required by using the following code:

    add_filter( 'tribe_events_community_required_fields', 'my_community_required_fields' );
    function my_community_required_fields( $fields ) {
       if ( is_array( $fields ) ) {
          $fields[] = 'tax_input.tribe_events_cat';
          $fields[] = 'venue';
       return $fields;

    Does the above code work for you? If it doesn’t, are you adding any other code to customize the community form? Please let me know.


    Posts: 65
    | Permalink

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

    | Permalink

The topic ‘required fileds submit form’ is closed to new replies.