Support » Plugin: Event Tickets and Registration » Cannot Confirm RSVP – Full Name / Email Fields are Not Displayed

  • Resolved Stephen Wick

    (@swick4556)


    Until recently, I have been able to Confirm RSVP with no problem.

    It seems, after a few updates to the Event Tickets plugin, we are no longer able to Confirm RSVP. The error is “Please fill in the RSVP confirmation name and email fields.”

    Steps to Reproduce
    1) Go to http://www.missourimilitia.com/event/missouri-militia-1st-battalion-3rd-brigade-kc-area-warrior-2-4-skills-mtc-17-oct-2020/
    2) Change the number of Guest or Members attending.

    Expected Result
    The Full Name, Email and Attending (Going / Not Going) form fields should appear.
    I should be able to fill out the form and then click on Confirm RSVP.

    Actual Results
    The full name, email and attending fields do not become visible.
    Clicking on Conform RSVP results in an error message being displayed.

    Now, I am a professional web developer, and what I am seeing is, in rsvp.js (aka rsvp.min.js) an event handler called my.quantity_changed is getting wired up by my.init() to the element with class “tribe-events-tickets-rsvp” but it is never being called upon a change to the elements with class “tribe-ticket-quantity”. This event handler would add up the tribe-ticket-quantity form field values, and if that value was greater than 0, then it would add a CSS class “tribe-tickets-has-rsvp” to the element with the class “tribe-events-tickets-rsvp” which would make the form fields within the element with class “tribe-tickets-meta-row” visible.

    I have no idea why this event handler is not executing. I will continue to dig, but I could use your help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Stephen Wick

    (@swick4556)

    I see why this stopped working.

    rsvp.js v4.10.8 contains this line of code:
    this.$rsvp.on( 'change input keyup', '.tribe-ticket-quantity', this.event.quantity_changed );

    rsvp.js v5.0.1 contains this line of code:
    this.$rsvp.on( 'change input keyup', '.tribe-tickets-quantity', this.event.quantity_changed );

    Unfortunately, as of Event Tickets 5.0.1, the input element’s class name has not changed, so the event handler never gets invoked:
    <input type="number" class="tribe-ticket-quantity" min="0" max="42" name="quantity_3037" value="0">

    I cannot find the HTML for the input element in the Event Tickets plugin. I’ll continue to look.

    • This reply was modified 1 year, 10 months ago by Stephen Wick.
    • This reply was modified 1 year, 10 months ago by Stephen Wick.
    Thread Starter Stephen Wick

    (@swick4556)

    This was my fault.

    Turns out I had copied views/tickets/rsvp.php to my theme’s folder, and I’ve never updated it.

    Updating it fixed the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot Confirm RSVP – Full Name / Email Fields are Not Displayed’ is closed to new replies.