My client wishes to have a user enter information on a contact form and then use that information to add the contact to an intermediate table.
I have a created a plug-in to check if the contact being created on the contact form exists or not.
If exists, only enter information on intermediate table, if not create a new contact and enter information on intermediate table.
Issue when a contact exists, a new contact is still created.
Issue when a contact does not exist, 11 contacts get created.
Plugin is registered message: create, event pipeline stage: preoperation.