• Hi, I am trying to create an option to choose a single trip which costs 150 euros and a return which costs 300 euros. I would like to display the options in a dropdown, where the values are hidden.

    Therefore, I have used the following code, which you provided in other support questions:

    <span class="wpcf7-form-control-wrap amount"><select name="amount" class="wpcf7-form-control wpcf7-text wpcf7-select" >
    <option>---</option>
    <option value="150">Single trip</option>
    <option id="FavoriteColorDropdown" value="300">Return</option>
    </select>
    </span>

    However, when using the code above. I cannot add a shortcode in the email send (so I don’t know if a single trip or a return is chosen in the form and I cannot use conditional logic on this Dropdown. Do you have a solution for that?

  • The topic ‘Add dropdown for the payment amount’ is closed to new replies.