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.
-
AuthorPosts
-
June 22, 2017 at 6:42 am #1301670dsb cloud services GmbH & Co. KGParticipant
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-fieldsAccording 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?
June 22, 2017 at 7:25 am #1301682dsb cloud services GmbH & Co. KGParticipantI 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; }
June 22, 2017 at 9:33 pm #1302112VictorKeymasterHi 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,
VictorJune 23, 2017 at 12:19 am #1302135dsb cloud services GmbH & Co. KGParticipantHi Victor,
thanks for the info. ๐
I will wait for the fix.Greetings
PatrickJune 23, 2017 at 6:48 am #1302235VictorKeymasterThanks Patrick! We’ll keep you posted. ๐
June 24, 2017 at 11:30 am #1303024jgrollParticipantReally need this fixed! We bought CE specifically to allow frontend event creation and not having the ability to require fields is a major issue!
June 26, 2017 at 9:04 am #1306525VictorKeymasterHey @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,
VictorJune 29, 2017 at 12:03 pm #1312414NicoMemberHey,
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,
NicoJune 29, 2017 at 11:25 pm #1313629dsb cloud services GmbH & Co. KGParticipantHi Nico,
thanks for the update.
I just installed the updates, but sadly the problem remains for me ๐Greetings
PatrickJune 30, 2017 at 7:37 pm #1314835VictorKeymasterHello 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!
VictorJuly 2, 2017 at 10:24 pm #1315410dsb cloud services GmbH & Co. KGParticipantHi 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
PatrickJuly 4, 2017 at 7:17 am #1315854VictorKeymasterHello 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!
VictorJuly 4, 2017 at 11:58 pm #1316171dsb cloud services GmbH & Co. KGParticipantThis reply is private.
July 5, 2017 at 6:23 am #1316240VictorKeymasterThis reply is private.
July 5, 2017 at 6:42 am #1316248dsb cloud services GmbH & Co. KGParticipantThis reply is private.
-
AuthorPosts
- The topic ‘required fileds submit form’ is closed to new replies.