Title: PHP code and confirmation e-mail message
Last modified: August 21, 2016

---

# PHP code and confirmation e-mail message

 *  [babbione](https://wordpress.org/support/users/babbione/)
 * (@babbione)
 * [13 years ago](https://wordpress.org/support/topic/php-code-and-confirmation-e-mail-message/)
 * Hello,
 * is it possible to write a php code in the confirmation e-mail message from FS
   Contact form?
 * I would like to show, in the confirmation e-mail, a calculation between two field
   values from the contact form.
 * Example
 * If the extrafield1 value is 5 and the extrafield2 value is 6, I would like to
   show the result of the sum (11) in the confirmation email.
 * thank you for any help
 * [http://wordpress.org/extend/plugins/si-contact-form/](http://wordpress.org/extend/plugins/si-contact-form/)

Viewing 1 replies (of 1 total)

 *  [Mike Challis](https://wordpress.org/support/users/mikechallis/)
 * (@mikechallis)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-code-and-confirmation-e-mail-message/#post-3726768)
 * One of my goals is to add Plugin action hooks and a help page about how to use
   them, then you could add a custom function in your theme functions.php to modify
   the output like you want.
    Maybe in a future version I will do this.

Viewing 1 replies (of 1 total)

The topic ‘PHP code and confirmation e-mail message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/si-contact-form_dde2be.svg)
 * [Fast Secure Contact Form](https://wordpress.org/plugins/si-contact-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/si-contact-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/si-contact-form/)
 * [Active Topics](https://wordpress.org/support/plugin/si-contact-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/si-contact-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/si-contact-form/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [php code](https://wordpress.org/support/topic-tag/php-code/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mike Challis](https://wordpress.org/support/users/mikechallis/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/php-code-and-confirmation-e-mail-message/#post-3726768)
 * Status: not resolved