Quantcast
Channel: WordPress.org Forums » [Contact Form 7] Support
Viewing all articles
Browse latest Browse all 49500

ChimpanzeeUK on "[Plugin: Contact Form 7] Send submit button ID in email"

$
0
0

Is it possible to configure CF7 to send the ID of the button pressed in the email?

I want to create a response form where users can enter a short message then click either a "I'm Going" or an "I'm Not Going" button so my code is like this:

<p>[textarea your-message] </p>
<p>[submit id:accept "I'm Going"]</p>
<p>[submit id:decline "I'm Not Going"]</p>

As you can see, I thought maybe I could use the submit's ID to distinguish between the two and send this in the email. Can anyone tell me if this is possible?

I'd considered having a drop-down list or a radio button to choose the response but the two-button option makes for a much nicer layout in my opinion.

Thanks :)

http://wordpress.org/extend/plugins/contact-form-7/


Viewing all articles
Browse latest Browse all 49500

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>