• ZealousWeb

    (@zealopensource)


    Hi,

    I am using “dropdown menu” field in my form, with values like “Ten|10” “Twenty|20” “Thirty|30” “Fourty|40” “Fifty|50”. I think value before pipe is label and value after pipe is value of select box.

    But I can see the issue with these values when I inspect it. I can see only the labels there, for text label is taken, for value also label is taken. I need 10 as value of select box and Ten as label of select box.

    Few posts suggest that after submission of contact form, value is able to send in emails, but I want to see those values not labels before submitting contact form.

    Any help would be appreciated.

    Thanks!

    https://www.ads-software.com/plugins/contact-form-7/

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

    (@davmerit)

    I am not sure what you want to achieve using CF7s pipe.

    Use pipe for selectable recipient See https://contactform7.com/selectable-recipient-with-pipes/

    And use select for regular drop down menu options see ??https://contactform7.com/checkboxes-radio-buttons-and-menus/

    Thread Starter ZealousWeb

    (@zealopensource)

    I want to display 10, 20, 30, 40, 50 as select box values and Ten, Twenty, Thirty, Fourty, Fifty as select box texts. But I want it on form display not in emails or after form submitting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with select box value using pipe’ is closed to new replies.