Hello,
I'm attempting to get the display variable of a text field, that is populated in a type_ahead by a valuelist.
Using the Servoy Security Framework with multiple windows doesn't work, since the UUIDs are all new, so must use the element_name.
I've hit this before and wrote a work-around, but have that need again. Worked around, but trying to understand where I couldn't go before.
I can get the dataprovider, element name, form name, mixed with other functions, and it always circles around to the data value, not the display value.
Cannot see the forest from the trees...
The text field is of type TYPE_AHEAD.
The dataprovider is tied directly to the record.element_uuid.
The valuelist is ['name','uuid'].
var elementNames = security.getElementUUIDs(form_name);
for (var index = 0; index <= elementNames.getMaxRowIndex();index++){
elementNames.rowIndex = index;
if (elementNames.uuid == element_uuid){
element_name = elementNames.name;
break;
}
}
What do I need to call to get the display value of the text field?
thanks,
--Joe.