How to retrive value of xforms:select in orbeon forms on client side (in JavaScript)

Posted by alexey.lugovoy on
URL: https://discuss.orbeon.com/How-to-retrive-value-of-xforms-select-in-orbeon-forms-on-client-side-in-JavaScript-tp4505217.html

I have next problem, when I'm trying to retrieve value from xforms:select elements I retrieve some encrypted value like "eKdObOh+XakQQkcJayfQArlH+Y5M4huLkvqoSAsN7P8=" while I know the real value, which I'm set in the form constructor is "ALFRESCO_ADMINISTRATORS".

I found this function ORBEON.xforms.Document.getValue(controlIdOrElement) but it returns the same encrypted value.

Is there any way to retrieve real value from xforms:select elements, or may be some configs which I have to enable/disable, or may be there some common algorithm which transforms real value to encrypted one?