I would like to do the following in my Lightbox:
My textfield is linked so a dataset, so it shows the state of an something. The state is maintained in a linked dataset. Now I would like to also “color-code” the state.
Like the text “full” should be shown in red and the text “free” in green.
The problem is that the
$w(“text1”).text; is not loading the linked dataset value,
but my placeholder text.
Somehow the code is executed before the dataset has linked and inserted the values.