![]() |
Myr0n 12/25/2020 |
In the documentation dialog api Example 2. Dialog with a lookup wizard it's straight forward $rs = DB::Query("SELECT * FROM CodesTypes");
ArrayOfSelectedRecords = result['ArrayOfSelectedRecords'];
|
R
|
RBrogen author 12/26/2020 |
THANK YOU SOOOOOOOO MUCH!!! THIS WORKED PERFECTLY! Happy Holidays you sure made mine! In the documentation dialog api Example 2. Dialog with a lookup wizard it's straight forward in server side you need to populate the array that you go to show to your clients $rs = DB::Query("SELECT * FROM CodesTypes");
ArrayOfSelectedRecords = result['ArrayOfSelectedRecords'];
|
R
|
RBrogen author 12/26/2020 |
Hi Myr0n,
In the documentation dialog api Example 2. Dialog with a lookup wizard it's straight forward in server side you need to populate the array that you go to show to your clients $rs = DB::Query("SELECT * FROM CodesTypes");
ArrayOfSelectedRecords = result['ArrayOfSelectedRecords'];
|
![]() |
Myr0n 12/26/2020 |
You need to replace this beforeOK: function( popup, controls ) {
beforeOK: function( popup, controls ) {
|
J
|
John 12/27/2020 |
Not 100% certain on your goal but you need to use the setProxyValue funtion in order to make this function. |
![]() |
Myr0n 12/27/2020 |
|
R
|
RBrogen author 12/27/2020 |
Hey JSD, Myr0n is correct. I thought I completed a post yesterday of my working version but it didn't get posted successfully so I will post it below. I had to approach this in a way that I could retrieve the server information first before prompting the user because the data that I had retrieved from the server is what I displayed in a prompt to the user. Thank you both for taking the time to respond. I wanted to post the working version so that someone else may find it useful. I don't do this full time so I'm usually relearning syntax and features. Thanks again and Happy and Safe Holidays!
According to thecustom buttons documentationif you move the code to the before client you will not be able to get the information from the server side |
J
|
John 1/4/2021 |
Hey JSD, Myr0n is correct. I thought I completed a post yesterday of my working version but it didn't get posted successfully so I will post it below. I had to approach this in a way that I could retrieve the server information first before prompting the user because the data that I had retrieved from the server is what I displayed in a prompt to the user. Thank you both for taking the time to respond. I wanted to post the working version so that someone else may find it useful. I don't do this full time so I'm usually relearning syntax and features. Thanks again and Happy and Safe Holidays! SERVER
|