# Multiple Submit Buttons That Pass Diffrent Variable

**URL:** <https://forum.kirupa.com/t/multiple-submit-buttons-that-pass-diffrent-variable/266503>\
**Category:** flash\
**Created:** [July 21, 2008, 4:05pm UTC](https://forum.kirupa.com/t/multiple-submit-buttons-that-pass-diffrent-variable/266503 "2008-07-21T16:05:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spv](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@spv](https://forum.kirupa.com/u/spv)\
**Post date:** [July 21, 2008, 4:05pm UTC](https://forum.kirupa.com/t/multiple-submit-buttons-that-pass-diffrent-variable/266503/1 "2008-07-21T16:05:23Z")

</div>

I am trying to create multiple submit buttons that depending on which one is clicked will send a diffrent variable to a php script that emails me. As of now I just have a regular flash email that when you hit submit it uses form.loadVariables(“email.php”, “POST”); to post my variables to the php… what i want is mulitple submit buttons that have predefined variables so when clicked it submits to me what someone chose. any help will be appreciated.
