Hello Everyone
I'm just getting familiar with the Design Studio (Vers. 14.0.5)
I wanted to update CSS Class and text of a text box according to the value from a data source.
I use the following script:
I'm facing two issues with the script:
1) Once I run the application, the data source won't update anymore. As soon as I change something in the values, the running application shows not the updated values, although I'm clicking on the button which triggers this script. The only workaround I know so far is to press F5 to refresh the browser, but this is not the preferred the solution.
2) Is there any possibility to convert text to string? In this case I could change the script to a more generic code and use the rtext.setCSSClass(s); directly to the value given by the datasources. (I would like to rename textboxes to a particular names, on this way I would save a lot of coding since there are many resource members.
btw: I'm accessing dimensions from a unx universe.
I appreciate any advice!
Thanks and best regards
Alex