A simple change needs to be made to a working chronoform (v3.2) in a joomla/community builder website. The form is used to submit an RSVP. When an RSVP is submitted to a user the user should receive an email notifying them that an RSVP has been received.
At present the form takes the user id of the person submitting the form and retrieves the email address associated with that user id. This results in the user who submits the RSVP being incorrectly sent a notification email.
The code needs to be changed to either get the user id and then the email address of the user who is receiving the RSVP (instead of the user id/email of the sender) and ensure they get the notification email, or get the email address of the RSVP recipient another way, and have the email notification sent to them.