How to check if a component is not empty?

How to check if a component is not empty, e.g. in the visibility condition?

There are several possibilities, here are the most common ones:

  • using double not operator (!)
!!getValue("GesCheckbox1")
  • check if it is not empty and not null
getValue("GesCheckbox1") != "" && getValue("GesCheckbox1") != null

Aboxe examples work for textfield, combobox, datepicker etc.