• Hello,

    I followed the instructions here, but I’m not getting the expected result, or I didn’t fully grasped the pourpose of that guide.

    My select tag is as follow:

    [select* contact-reason id:select-contact-reason
      "technical-issue|I have a technical issue"
      "sales|I want to conctact sales team"
      "other|I have another question"
    ]

    The html I expected:

    <select ...>
    <option value="technical-issue">I have a technical issue</option>
    <option value="sales">I want to contact sales team</option>
    <option value="other">I have another question</option>
    </select>

    The html I get instead:

    <select ...>
    <option value="technical-issue">technical-issue</option>
    <option value="sales">sales</option>
    <option value="other">other</option>
    </select>

    My objective is to show to the user, for every option, a humanly friendly readable label and for each value a corresponding computer friendly slug of characters.

    Using CF7 5.9.4 and WP 6.4.3

    Thank you.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Dropdown with custom values (again)’ is closed to new replies.