This is actually quite straight forward to do. Just want to clarify first, though... that the original post referenced both an Edit-Combo List and a Dropdownbox. I'll assume he meant the Textbox Control configured as an Edit-Combo List in both cases... since there is a Dropdownbox control... which would not be appropriate here.
Set up your Editor as you normally would... adding in your Textbox Edit-Combo List control.
For the Edit-Combo List select the fields you want to display in the edit combo list and the returned value... all normal stuff. For the Fill-In part, we are going to ignore the built-in Fill-in fields property. It's not going to help us. Instead, scroll down to the Javascript section and get into the AfterSelect property.
Here we have full access to all the data in our Edit-Combo List... and... we have access to the powerful methods of the FormView Control.
Your Javascript will be...
Code:
var _fields = ['Lastname','Price','Qty'];
var _vals = [data.LASTNAME,data.CUSTAMOUNT,data.TOTAL];
{dialog.object}.formViewUpdate('FORMVIEW_1',_fields,_vals);
In my case, I attached an Editor to a State field. When I click on the State field in the FormView control, the Editor is displayed... with my Textbox Edit-Combo control. I display the list and see my fields... Lastname, State, CustAmount, and Total. I make a selection and the Javascript above runs.
_fields are the fields in the FormView I want to fill in.
_vals is the data from the Edit-Combo List. All values are referenced via the data object... and all field names must be uppercase.
Then the UX .formViewUpdate() method is used. The FormView fields are filled in.
Bookmarks