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 1 year 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 1 year ago #

    You can use pipes for that.

    Example:

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

    Excellent, thanks muchly!

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic