Forum

Jennifer Häfner
Moderator
    Has successfully completed the online course Intermediate (200)
    Has successfully completed the online course Advanced (300)
    Has successfully completed the online course Basics (100)
    Has successfully completed the online course Advanced (310)
    Has successfully completed the online course Advanced (320)
    Has successfully completed the Intermediate Certification
    Has successfully completed the Advanced Certification
3 years, 2 months ago #33991
Up
1
Down
::

Hi Elie,

At the end of your expression binding, there is one too many curly braces, so just delete the last curly brace.

If the expression binding still does not work, here are some suggestions:

  • Have you already checked the value that is contained in ‘Difference’? You are comparing it to the string value ‘0’, maybe this needs to be changed to an integer?
  • Is ‘Difference’ the name of a global variable or the path in a binding? If it is a global variable, containing for example a single value, the syntax needs to be changed to: ${variableHolder>/Difference}.
    If the text widgets are in a list or a table and ‘Difference’ is a field of the global variable that is mapped to the list/table, your syntax here is correct.
  • It seems like you are using different kinds of apostrophes in your expression binding. This could be problematic, so just to make sure, exchange the apostrophes:
    {= ${variableHolder>Difference} !== ‘0’ ? ‘groupColorText’ : ” }