Kamala

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Issues with Add Event Form: Validation, Field Labels #1349374
    Kamala
    Participant

    Hi Shelby – Any news on this ticket?

    in reply to: Issues with Add Event Form: Validation, Field Labels #1330091
    Kamala
    Participant

    Hi 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:

    1. 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;
      }
    2. 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;
      }
    3. 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

    in reply to: Issues with Add Event Form: Validation, Field Labels #1328525
    Kamala
    Participant

    Hi Shelby,

    Unfortunately the latest snippet you sent for me to try does not work either.

    in reply to: Issues with Add Event Form: Validation, Field Labels #1322390
    Kamala
    Participant

    Hi 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.

Viewing 4 posts - 1 through 4 (of 4 total)