• mndineva

    (@cookie_monster22)


    I’ve tried to separate the value and content as shown in the example in the page here – CF7 docs, but unfortunately it’s not working. I tried the example also and the result is the same. I just want to have something like this:

    <select>
    <option value="1">Chocolate ice cream</option>
    <option value="2">Vanilla ice cream</option>
    </select>
    • This topic was modified 5 years, 11 months ago by mndineva.
    • This topic was modified 5 years, 11 months ago by mndineva.
Viewing 1 replies (of 1 total)
  • I think the way you need to set that up is to have something along the lines of the following on your Form tab:

    
    [select* your-field-name "Chocolate ice cream|1" "Vanilla ice cream|2"]
    

    The pipe “|” symbol separates the text of the option from the value. Change “your-field-name” to be the name your want for the Select.

Viewing 1 replies (of 1 total)
  • The topic ‘Select box – different value-text then content-text in option’ is closed to new replies.