- This topic has 4 replies, 2 voices, and was last updated 8 years, 9 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Seat number resets to 0 after editing booking details
Tagged: booking details, edit, eme_insert_rsvp_action, seat number
Does eme_insert_rsvp_action work on the edit booking details page? When updating details of registered participants, the seat number is being set to 0 (from a default of 1 which I set in eme_insert_rsvp_action).
That action is just called for bookings being done, not for editing an already created booking.
Just tested and the bookings are being edited just fine. But of course you need to give the amount of reserved seats …
Thanks. I had to add the following hidden field to ensure it worked for the edit page (attendance is just yes/no):
<input type="hidden" name="bookedSeats" value="1">
Are you saying that this field is not present when editing a booking for an event configured to take rsvp attendance?
Yes. I have a custom form, and handle the prices and seats in eme_insert_rsvp_action. Since this action doesn’t fire on the edit booking form, and there was no bookedSeats field in the form, the seat was being set to 0 when editing a booking.