Forums

Contact Form 7
Saving values when using pipes (3 posts)

  1. bschulz
    Member
    Posted 1 year ago #

    I am using the pipe options in Contact Form 7 to direct where the email should be sent. For example I have a dropdown like so:


    <label for="Interests">I am interested in:</label> [select Interests include_blank
    "Careers|careers@example.com"
    "Prodcuts|prodcuts@example.com"
    "Services|services@example.com"
    "Other|other@example.com"]

    I am also using the CF7 to Database Extension to save all of the submissions. My problem is that the database extension is only saving the Email Address and not the selected value. Is there a way I can save either the whole value, "Value|email", or even just the part before the pipe? The author of the Database Extension, Michael Simpson, said that the DB extension is saving what CF7 is sending it.

    Thank you for any help.

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

  2. danbranigan
    Member
    Posted 1 year ago #

    I'm also looking for a way to extract/show the first part of vale before the pipe. Did you get anywhere with this?

  3. kathatp
    Member
    Posted 7 months ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic