Title: Multiple form submit in functions.php
Last modified: August 20, 2016

---

# Multiple form submit in functions.php

 *  Resolved [tr33m4n](https://wordpress.org/support/users/tr33m4n/)
 * (@tr33m4n)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/multiple-form-submit-in-functionsphp/)
 * Hello there,
 * I have this form in functions.php which ties in with a couple of functions to
   send emails to a mailing list:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Which works fine, however I need to add another submit button and text box so
   the person using it can selectively send the content to just a single e-mail 
   address rather than the entire mailing list. Just wondering if anyone has any
   ideas? I’ve come from Drupal and not used WordPress in years so just looking 
   for the best route really.
 * Cheers
    Dan

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [tr33m4n](https://wordpress.org/support/users/tr33m4n/)
 * (@tr33m4n)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/multiple-form-submit-in-functionsphp/#post-2653676)
 * Oops, here we go [http://pastebin.com/7Pvrmrcz](http://pastebin.com/7Pvrmrcz)
 *  Thread Starter [tr33m4n](https://wordpress.org/support/users/tr33m4n/)
 * (@tr33m4n)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/multiple-form-submit-in-functionsphp/#post-2653814)
 * Not to worry, just did it in the same way I normally would

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multiple form submit in functions.php’ is closed to new replies.

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [multiple](https://wordpress.org/support/topic-tag/multiple/)
 * [submit](https://wordpress.org/support/topic-tag/submit/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 2 replies
 * 1 participant
 * Last reply from: [tr33m4n](https://wordpress.org/support/users/tr33m4n/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/multiple-form-submit-in-functionsphp/#post-2653814)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
