• Resolved Philipp

    (@vonschulthess)


    Hi,

    I have created the form to add an new ad. Please see here: https://www.soldoona.com/adverts/add/

    There is a dropdown field with the name “Geburtsland”. How can I display a string on the dropdown button so that some copy will be shown by default.

    The checkbox field below with the name “Kunst-Gattung(en)” has this.

    Thank you for your support
    Regards
    Philipp

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    I assume you are customizing the form using Custom Fields add-on, if so then edit the “Geburtsland” field from Custom Fields editor, check the “List starts with empty option” checkbox and below enter a string you want to display for the default empty option.

    Thread Starter Philipp

    (@vonschulthess)

    for this field, it does not have the option to check the “list starts with empty option” box. please see this print screen http://imgur.com/a/0RF8k
    What do I need to do?

    Plugin Author Greg Winiarski

    (@gwin)

    It seems you are converting the text field into dropdown (its dropdown in the frontend but text box in the editor) using Forms API, you will need to find code that does this (it will most likely be in your theme functions.php file and will be using the advert_form_load filter) and modify the field to include an “empty” option.

    Once you will find the code you can paste it here i will let you know how to change it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘display string on dropdown button’ is closed to new replies.