# Multiple actions for one form

**URL:** <https://forum.kirupa.com/t/multiple-actions-for-one-form/93453>\
**Category:** Uncategorized\
**Created:** [October 31, 2003, 2:58am UTC](https://forum.kirupa.com/t/multiple-actions-for-one-form/93453 "2003-10-31T02:58:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dropkick](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@dropkick](https://forum.kirupa.com/u/dropkick)\
**Post date:** [October 31, 2003, 2:58am UTC](https://forum.kirupa.com/t/multiple-actions-for-one-form/93453/1 "2003-10-31T02:58:41Z")

</div>

Is it possible to have multiple actions for one html form? I am trying to get the data from the form into our mysql database and also send the data to our CRM’s server to add to the db there. For the mysql db I use php and that works fine on its own. For the CRM’s server, I just use their url as the action for the form and that also works on its own. The problem is when I try to combine them, the action property overriders the PHP, so the CRM gets the data but not our local DB. Is there a way to have the php set the form action property after it adds info to the db? 2 e-mail messages are also sent using the form data and PHP. The CRM is [salesforce.com](http://salesforce.com) if anyone has any experience with that.

thanks 😃  
dk
