Forum Replies Created
-
AuthorPosts
-
September 14, 2017 at 10:14 am in reply to: Issues with Add Event Form: Validation, Field Labels #1349374KamalaParticipant
Hi Shelby – Any news on this ticket?
August 3, 2017 at 9:12 am in reply to: Issues with Add Event Form: Validation, Field Labels #1330091KamalaParticipantHi Shelby,
There is no conflict. I switched to the Twenty Seventeen theme and disabled all plugins except for the two Events Calendar plugins. Still, the required organizer name and email fields are not validating as expected.
I tested these three combinations of code snippets in functions.php:
-
This does absolutely nothing, even though your documentation says it should require all Organizer fields be required. The form submitted as valid with only Event Title and Event Description filled in.
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[] = ‘organizer’;
return $fields;
} - This latest code snippet you sent me does not work either. The form submitted as valid with only Event Title and Event Description filled in. add_filter( ‘tribe_events_community_required_organizer_fields’, ‘my_organizer_community_required_fields’, 10, 1 );
function my_organizer_community_required_fields( $fields ) {
if ( ! is_array( $fields ) ) {
return $fields;
}
$fields[] = ’email’;
return $fields;
} - Also tested by pasting both of the snippets into functions.php. That time the form would not validate even though all required fields were filled in.
This is getting extremely frustrating. I’ve spent hours on trying to get this minor thing to work. Have you been able to replicate it?
Cindy
KamalaParticipantHi Shelby,
Unfortunately the latest snippet you sent for me to try does not work either.
KamalaParticipantHi Shelby,
I just got a chance to try that code snippet you sent. Unfortunately, it
doesn’t work:– I fill in the email field, click submit, and “Email required” error
message is still displayed.By the way, I had already tried that code you sent as well as different
variations…Regards,
Cindy
—
——————————————–
Cindy Lutz
Membee / IRM Systems Inc.
800.729.2962 (toll free) ext. 429
403.250.8366 (fax)
Site: http://www.membee.com
———————————————Membee – The Hardworking Membership Management System from IRM Systems.
Celebrating 20 years of serving non-profits.Heard the latest buzz about Membee? Visit our blog and sign up for email
notifications at http://blog.membee.com. -
This does absolutely nothing, even though your documentation says it should require all Organizer fields be required. The form submitted as valid with only Event Title and Event Description filled in.
-
AuthorPosts