WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multiple form submit in functions.php (3 posts)

  1. tr33m4n
    Member
    Posted 2 years ago #

    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. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    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

  2. tr33m4n
    Member
    Posted 2 years ago #

    Oops, here we go http://pastebin.com/7Pvrmrcz

  3. tr33m4n
    Member
    Posted 2 years ago #

    Not to worry, just did it in the same way I normally would

Topic Closed

This topic has been closed to new replies.

About this Topic