Copy link to clipboard
Copied
Good day,
How would I go about showing the selected item (Item 1 in this example) in a Dropdown as the selected item? Here is what I am trying to acheive (currently, "hard coded" and I want this to be dynamic)
User selects Item 2:
Thank you.
<Title renamed by moderator>
I found a solution. Unfortunately, it is not dynamic, but for dropdowns with under 10 items it's a viable solution.
https://www.youtube.com/watch?v=WS3nV0F4eU4&t=266s
Copy link to clipboard
Copied
Sorry, my question should have read (can't edit my post):
How would I go about showing the selected item (Item 2 in this example)
Copy link to clipboard
Copied
Are you referring to a PDF file? Because drop-down fields in PDF files work like that automatically. The selected item always appears as the text of the field.
Copy link to clipboard
Copied
No, I wasn't referring to a PDF in particular, my intent is to use this in a working prototype, but if the behavior is the same, sure.
I believe this is standard behavior for a dropdown.
Here is an example of an HTML dropdown in action:
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select
Is this possible in XD?
Copy link to clipboard
Copied
Why does you use the forum for Adobe Acrobat? Use the forum for XD.
Copy link to clipboard
Copied
Oh crap, sorry guys. Thought I was in the XD forum. More coffee.
Copy link to clipboard
Copied
[Question moved to the Adobe XD forum and merged with the other thread]
Copy link to clipboard
Copied
Good day,
How would I go about showing the selected item (Item 2 in this example) in a Dropdown as the selected item? Here is what I am trying to acheive (currently, "hard coded" and I want this to be dynamic based on the value selected.)
User selects Item 2:
Thank you.
Copy link to clipboard
Copied
Hi Doug21784293dvss,
Thank you for reaching out. We would request you to please check out this page: https://www.adobe.com/products/xd/learn/design/layout/create-dropdown-menu.html which might help you.
I am also keeping the discussion open for our experts for any other suggestion.
Hope it helps.
Thanks,
Harshika
Copy link to clipboard
Copied
Thank you Harshika.
I did go through this article previously and it does not cover my question. : (
Copy link to clipboard
Copied
Thanks for checking the article. I would also suggest you please see this video: https://www.youtube.com/watch?v=v9pdW0q61lE&ab_channel=HowardPinsky which may help.
Thanks,
Harshika
Copy link to clipboard
Copied
Hi,
Thanks again Harshika, but unfortunately this video does not cover it.
I am trying to create a very-super-basic HTML dropdown XD equivalent where the list item the end user clicks appears as the selected item. Here is an example:
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_optgroup
The videos you have shared are great & I will keep them on hand, but they do not cover my requirement.
My question remains.
Copy link to clipboard
Copied
Anyone have any ideas? Any help is appreciated.
Copy link to clipboard
Copied
I found a solution. Unfortunately, it is not dynamic, but for dropdowns with under 10 items it's a viable solution.
https://www.youtube.com/watch?v=WS3nV0F4eU4&t=266s
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more