• Resolved alexandervisualz

    (@alexandervisualz)


    I would like to make the email field for rsvp attendees a non-required/optional field. I saw a ticket with some info but it seems outdated because the mentioned settings aren’t there anymore.

    The name can stay required, that’s fine. Please let me know which template to change or what to do. I did try removing the required from the my-theme/tribe/tickets/v2/rsvp/form/fields/email.php

    but when I submit form it says “invalid data! missing required attendee details!”

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Iris

    (@iirvin)

    Hi @alexandervisualz,

    Thanks for reaching out!

    The email field is created by the template file?/event-tickets/src/views/v2/rsvp/ari/form/fields/email.php.
    ?
    You can create template overrides for those files. Then, your changes should work properly.

    I hope this helps! If you have any other questions please let us know.

    Thread Starter alexandervisualz

    (@alexandervisualz)

    Nothing changes when I make changes when I use the path found in this template file?/event-tickets/src/views/v2/rsvp/ari/form/fields/email.php.

    it did change when I used the path found in this: event-tickets/src/views/v2/rsvp/form/fields/email.php

    but i got the error “invalid data! missing required attendee details!” when submitting the form, even though the red start and required was removed.

    Plugin Support iammarta

    (@iammarta)

    Hi @alexandervisualz,

    If you are referring to the Main Guest email field, there is not an easily way to make that Optional, because the system has no other way of notifying the person of their confirmed RSVP.
    ?
    You would have to do some serious custom coding which is not something we really support.

    Best regards,
    Marta

    Thread Starter alexandervisualz

    (@alexandervisualz)

    please guide me on which files I need to work on then I’ll take it from there.

    Plugin Support Darian

    (@d0153)

    Hi @alexandervisualz

    You can try checking this file which handles the form submission.

    https://github.com/the-events-calendar/event-tickets/blob/master/src/Tribe/RSVP.php#L245

    Let me know if you have other questions or concerns.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Make email field not required on the attendee form?’ is closed to new replies.