Inner Text format problem

Hello,

I am trying to convert a boolean value (true) to a string and then replace the word with another.

This is the code that does not work:

dmx-text="api1.data.details.variable.toString() == 'true'.replace('true', 'VALID')"

Am I doing something wrong?

use

dmx-text="api1.data.details.variable ? 'VALID' : ''"
1 Like