How can I add a description on the side of a dropdown/select box?

How can I add a description on the side of a dropdown/select box?

ptechptech Posts: 3Questions: 2Answers: 0


When a user selects an item from the drop down list, I want to add an additional description to the right of it like in the image attached. Is there a way to easily do this?

Answers

  • tangerinetangerine Posts: 3,348Questions: 36Answers: 394

    I think you might be misundertanding the nature of HTML "SELECT" (drop down).
    Is this what you want:

     <option value="1">Monthly</option>
     <option value="2">Quarterly</option>
    

    where the values are hidden and the labels displayed?

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @ptech ,

    Is this using Editor?

    Cheers,

    Colin

  • ptechptech Posts: 3Questions: 2Answers: 0
    edited August 2019

    @colin Yes, using select type and options.

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin

    The image that you show doesn't look like an HTML select element as @tangerine suggests. At least I've never seen an HTML select doing cascade like that, but happy to be corrected!

    If you are using some other library to do the cascade select, it could be integrated into Editor with a custom field type plug-in.

    Allan

This discussion has been closed.