required fileds submit form

Home Forums Calendar Products Community Events required fileds submit form

  • This topic has 32 replies, 5 voices, and was last updated 6 years, 3 months ago by dsb cloud services GmbH & Co. KG.
Viewing 15 posts - 1 through 15 (of 32 total)
  • Author
    Posts
  • #1301670

    Hihi,

    I’m trying right now to customize my community events submit form. I want some more required fields. For that, I already found your knowledgebase post:
    https://theeventscalendar.com/knowledgebase/required-fields-for-events-submission-form/#venue-fields

    According to that, I add this to my code:

    add_filter( ‘tribe_events_community_required_venue_fields’, ‘my_venue_community_required_fields’, 10, 1 );

    function my_venue_community_required_fields( $fields ) {

    if ( ! is_array( $fields ) ) {
    return $fields;
    }

    $fields[] = ‘Venue’;

    return $fields;
    }

    But sadly the required is still missing. What did I do wrong?

    #1301682

    I got the same issue with my ‘tax_input’ field with the following code:

        add_filter( 'tribe_events_community_required_fields', 'my_community_required_fields', 10, 1 );
        function my_community_required_fields( $fields ) {
    
        if ( ! is_array( $fields ) ) {
            return $fields;
        }
    
        $fields[] = 'tax_input';
    
        return $fields;
        }
    #1302112
    Victor
    Keymaster

    Hi There!

    Thanks for taking your time and reporting this!

    Unfortunately, we are aware of this issue and the team is already working to fix it.

    I will change this thread to “Pending fix” and link it to the bug report so we’ll let you know as soon as a bugfix is released in one of our next maintenance releases.

    I apologise for this inconvenience and we’d appreciate your patience in the meantime.

    Thanks,
    Victor

    #1302135

    Hi Victor,

    thanks for the info. ๐Ÿ™‚
    I will wait for the fix.

    Greetings
    Patrick

    #1302235
    Victor
    Keymaster

    Thanks Patrick! We’ll keep you posted. ๐Ÿ™‚

     

    #1303024
    jgroll
    Participant

    Really need this fixed! We bought CE specifically to allow frontend event creation and not having the ability to require fields is a major issue!

    #1306525
    Victor
    Keymaster

    Hey @jgroll, thanks for chiming in!

    I’ve just reviewed the report on this issue and it seems a fix has been submitted and has already passed QA successfully. It still has to go through its final steps, but there is a good chance this will be available in our next maintenance release this week.

    My apologies for the inconvenience.

    Best,
    Victor

     

    #1312414
    Nico
    Member

    Hey,

    Just wanted to share with you that a new maintenance release (for the Week of 26th June 2017) is out, including a fix for this issue ?

    You should be able to use the snippet described in this article to make venue/organizers required.

    Find out more about this release โ†’ https://theeventscalendar.com/maintenance-release-week-26th-june-2017/

    Please update the plugins and let us know if the fix works for your site,
    Best,
    Nico

    #1313629

    Hi Nico,

    thanks for the update.
    I just installed the updates, but sadly the problem remains for me ๐Ÿ™

    Greetings
    Patrick

    #1314835
    Victor
    Keymaster

    Hello Patrick!

    Thanks for following up on this.

    I’ve just checked it myself and it doesn’t work for me either requiring venue. It does work for organizer. I will make sure to bring this up to the team so they can double check and see what went wrong.

    Could you please confirm it does not work for venue, but it does with organizer?

    My apologies once again. We will keep you posted about it.

    Thanks for taking your time and reporting this.

    Have a nice weekend!
    Victor

    #1315410

    Hi Victor,

    I’ve tried it. The field “organizer” gets the “(requierd)” prรคfix, but when I hit the submit-button, I get the message that the form only needs “title” and “description”, not organizer or in my case “venue” and “taxonomy”

    Greetings
    Patrick

    #1315854
    Victor
    Keymaster

    Hello Patrick!

    Thanks for following up on this!

    We’d really appreciate if you could try the following code snippet and let us know if it works for event category, venue and organizer.

    add_filter( 'tribe_events_community_required_fields', 'my_community_required_fields', 10, 1 );
    
    function my_community_required_fields( $fields ) {
    
    if ( ! is_array( $fields ) ) {
    return $fields;
    }
    
    $fields[] = 'tribe_events_cat';
    $fields[] = 'venue';
    $fields[] = 'organizer';
    
    return $fields;
    }
    

    Also, could you please share with us your sys info by following this guide >ย https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    Thanks!
    Victor

    #1316171

    This reply is private.

    #1316240
    Victor
    Keymaster

    This reply is private.

    #1316248

    This reply is private.

Viewing 15 posts - 1 through 15 (of 32 total)
  • The topic ‘required fileds submit form’ is closed to new replies.