WordPress.org

Forums

Contact Form 7
[resolved] Any way to send a different word based on the checkbox a user ticks? (3 posts)

  1. awmperry
    Member
    Posted 11 months ago #

    I'm administering a trilingual WP site for a makeup school, with contact forms in English, Swedish and Norwegian. One of the forms is for users to register in our database of training models; their registrations go by mail to our administrator, who adds them to the database.

    As it stands, though, the words that come in the email are the same as the words the users select, so instead of simply getting emails listing "Male" or "Female", we end up with "Male", "Female", "Man", "Kvinna".

    Is there any way to set up a form so that the form shows "Man" but in the email outputs "Male", and so on?

    https://wordpress.org/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 11 months ago #

    You can use pipes for that.

    Example:

    [radio your-sex "Man|Male" "Woman|Female"]
  3. awmperry
    Member
    Posted 11 months ago #

    Excellent, thanks muchly!

    Now to figure out where this keyboard they've given me has hidden the pipe... ;-)

Reply

You must log in to post.

About this Plugin

About this Topic