J1.5:Plugin/Events/Contact
From Joomla! Documentation
Contact events are triggered during the contact form submitting process.
onValidateContact
Description
This event is triggered after a contact form has been submitted. An example use case would be validating a captcha. If you return a JError, JException or Exception object form submission will be terminated.
Parameters
contactA reference to the person who will receive the form.postA reference to the $_POST variable.
Return Value
None or object. See description for details.
Called in files
- components/com_contact/controller.php
onSubmitContact
Description
This event is triggered after a contact form has been submitted. You can use this for sending additional mails etc.
Parameters
contactA reference to the person who will receive the form.postA reference to the $_POST variable.
Return Value
None.
Called in files
- components/com_contact/controller.php