# Default or Form Contact Owner?

**URL:** https://forum.mautic.org/t/default-or-form-contact-owner/14112
**Category:** Product Support
**Created:** [April 29, 2020, 8:06pm UTC](https://forum.mautic.org/t/default-or-form-contact-owner/14112 "2020-04-29T20:06:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![andrewteg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewteg/32/561_2.png) [@andrewteg](https://forum.mautic.org/u/andrewteg)
#### Post date: [April 29, 2020, 8:06pm UTC](https://forum.mautic.org/t/default-or-form-contact-owner/14112/1 "2020-04-29T20:06:19Z")

</div>

Is it possible to set a contact owner for all form submissions, or an overall default owner so all contacts have an owner by default?

I see I can set an email to the Contact Owner but cannot see how to set a contact owner. I tried a hidden field named owner but that seemed to be ignored.

Thanks.

---

<div class="post-metadata">

### Author: ![andrewteg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewteg/32/561_2.png) [@andrewteg](https://forum.mautic.org/u/andrewteg)
#### Post date: [April 30, 2020, 3:50pm UTC](https://forum.mautic.org/t/default-or-form-contact-owner/14112/2 "2020-04-30T15:50:44Z")

</div>

This may not be an ideal solution but we created a MySQL trigger that switches a lead from blank to a certain user ID and that seems to work well for our needs at this time. This lets them be created with a default contact owner but can be updated later to none if needed for whatever reason. Here’s the trigger if anyone wants to try something similar:

```
DELIMITER $$
CREATE TRIGGER `default_owner` BEFORE INSERT ON `leads` 
    FOR EACH ROW BEGIN
	IF NEW.owner_id IS NULL THEN
		SET NEW.owner_id = 1;
	END IF;
    END;
$$
DELIMITER ;
```
