# \[?Prompt\] dropdown prompt flag & values

**URL:** <https://forum.sambapos.com/t/prompt-dropdown-prompt-flag-values/7928>\
**Category:** V5 Question\
**Created:** [November 2, 2015, 9:51am UTC](https://forum.sambapos.com/t/prompt-dropdown-prompt-flag-values/7928 "2015-11-02T09:51:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [November 2, 2015, 9:51am UTC](https://forum.sambapos.com/t/prompt-dropdown-prompt-flag-values/7928/1 "2015-11-02T09:51:26Z")

</div>

What is anyone’s thoughts on the idea of a dropdown list option on the prompt function?

My example in mind is the room booking account that can automatically mark a room and booking entity as linked through entity changed.  
Flow being;  
Booking created makes a booking number entity and asks room as I already have but room is just a custom field on the booking number entity.  
Would make it also automatically add the booking number entity name to a field on the room entity but given manual typing room using [?prompt] may not match entity name exactly.  
If [?prompt] had a dropdown flog and values could be provided in a string I could use {ENTITY LIST EXP:(EN=Rooms)} in the list part of the flag/expression so the dropdown is propagated with room entity names which I could then use to accurately and dynamically also update the room entity with the booking number and link them.  
Then using entity changed event with constraint of entity name:rooms != ‘’ to also select the booking number entity using {ENTITY DATA:Rooms:Booking Number}.

While my idea is quite specific a dropdown option with ability to fill the list using report expressions could be powerful option.  
Even if a comma seperates list was posible could be useful as gives a finite input option which other actions can be based on accurately.

hipe that makes sense, not sure if I explained my situation well enough.

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [November 2, 2015, 3:05pm UTC](https://forum.sambapos.com/t/prompt-dropdown-prompt-flag-values/7928/2 "2015-11-02T15:05:08Z")

</div>

[?prompt] can be made to show a dropdown using the pipe character…

```auto
[?Choose a value;;ab|cd|ef|gh]

```

 ![](https://forum.sambapos.com/uploads/default/original/2X/f/f57947e7d75ebfc4a32d42932462d1f9691f13d8.png)

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [November 2, 2015, 3:07pm UTC](https://forum.sambapos.com/t/prompt-dropdown-prompt-flag-values/7928/3 "2015-11-02T15:07:36Z")

</div>

Awesome, hopefully it might except tags/scripts 🙂
