- This topic has 2 replies, 2 voices, and was last updated 6 years, 9 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › How to fill people record with form field values of booking form
Tagged: Form Fields
First of all: Bigs thanks for this excellent plugin.
I have a booking form with custom form fields. Sending the form we get a new record in the answers table. At the same time we have a new record in the people table with the same id as in the bookings table.
But the form field values are not assigned to the people only to the bookings. So we do not see the form field values in the person view in backend.
Editing the person we can set new values in the form fields an thus a new record is created in the answers table now with booking_id=0 and person_id=xxx.
I have modified the code in eme_rsvp.php to create a new answer record as a copy of the inserted record for bookings (e.g. line 1073) but now with person_id=booking_id.
But this is only a workaround for me and I do not like it.
Do I miss anything? If not is there a reason for the intended behavior? Or can we get this as a new feature?
A booking is linked to a person via the person_id, but those 2 do not need to be the same. Imagine doing multiple bookings for 1 event. Or just another booking for another event with the same person info.
You can ask for custom booking fields in the rsvp form, but not custom personal info. The extra fields you can define per person in the backend (based upon group membership) can only be set in the backend.
You can see everything someone entered in the “Change registration” or “approve pending” submenus. And per event you have a link to “printable view” or “CSV export”.
Wow, so quick.
Your answer makes sense for me. And your hint for a printable view/csw export is very helpful.