This topic is locked

Drop Down in dialog box

6/10/2020 8:41:25 PM
PHPRunner General questions
R
RBrogen author

Hi Everyone,
I have a custom button that prompts user to input a number (this number happens to correlate to something else I'm doing so I can send emails) and it is working great! However, right now they just type the number straight in. What I would like to be able to do is using the same dialog box approach, they click the button and are presented with a drop-down list of options (these options are a value in a table) and there is a number associated with the displayed option. After they select the option and click ok, then I take the number associated with their selection and process accordingly.
The part I need some assistance on is in the Dialog API there doesn't appear to be a drop-down list option ... I think I could use a popup with a form displayed but not sure.
Any thoughts would be greatly appreciated!
Best,

Randy

Sergey Kornilov admin 6/11/2020

Dialog API doesn't have an option to show a dropdown box. This is something that we plan to add in version 10.5.
Meanwhile you can use one of the additional Add or Edit pages for this purpose.

R
RBrogen author 6/12/2020



Dialog API doesn't have an option to show a dropdown box. This is something that we plan to add in version 10.5.
Meanwhile you can use one of the additional Add or Edit pages for this purpose.


Thanks so much Sergey! Looking forward to 10.5! I am able to prompt with a custom add page with the dropdown ....I don't want to save the record, simply pass the underlying field value to the server for processing. Can you please point me in the right direction to be able to do that?