2 line drop-down option - Post ID 192997

User 2105817 Photo


Registered User
8 posts

I've never seen this and it probably can't be done, but I just wanted to check before I told my customer that it can't be done. They are requesting that the drop-down selection have the officers position on the first line of the option with the officer's name on the second line, indented. Something like below but with John Doe indented.
Chief Executive Officer
John Doe

User 187934 Photo


Senior Advisor
20,192 posts

I would think you could alter the html to achieve this.:)
Edit: I did a little checking end it's a pain in the pc to get it done.:lol:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 464893 Photo


Ambassador
1,611 posts

If you use two text boxes the first 66% wide the second 50% reduce padding to get them close then add padding to the second boxes left setting to ident it.
The information will be available in the database or csv as a pair.
The Guy from OZ


User 2105817 Photo


Registered User
8 posts

I'm sorry, but I don't follow what you are saying. There are no text boxes in the options list for a drop-down list used as a contact list. (Maybe I should have said that before.) Do you mean to do two options and offset the second one? Can you give some example code, please?

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.