Group booking validateRegistrantEmail

  • Jeff Dun
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 1 week ago #165577 by Jeff Dun
Group booking validateRegistrantEmail was created by Jeff Dun
Hi Tuan,
i wanted to add some customisation to disallow group members from booking if they are already booked on another event.
I'm not using billing, so i looked in process_group_registration, called from store_group_members_data.
This method calls validateRegistrantEmail, which i noticed is only called for the first registrant in the group, not for all of them.
Is this intended?

I'll probably override validateFormData to add my own validation in a controller override class, but was just wondering about the validateRegistrantEmail method.
Nothing i'll need, just wondering :-)
Thanks
Jeff
 

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #165603 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Group booking validateRegistrantEmail
Hi Jeff

You would need to customize code of the method validate_and_store_group_members_data

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc