Is it possible to set the value of a widget, based on the XML Name of the attribute, in the V8 Style Editor?
We would like to update the value of a Text field widget, based on the value selected in another widget, in the same editor. But all we have is the XML Name of the Text field attribute, not the actual ID of the widget.
If we had the full widget ID, we could use:
vExt.getCmp(fieldId).setValue("test");
However, we do not have the full widget ID. Is this possible? Is there a pre-defined function in the JavaScript API that can retrieve a widget based on the XML Name of the attribute?
Or is there a function that will retrieve all widgets in the editor and we could loop through them?
Thanks in advance,
Brendan