Expression language for defining conditions (conditions with getValue)
Condition writing editor
Conditions in JavaScript format
// integer comparison of a TextField field
parseInt(getValue("GesTextField3"))>5
// floating-point comparison of a TextField field
parseFloat(getValue("GesTextField5"))<200.001
// comparison of a logical value (equal) of a CheckBox field
getValue("GesCheckbox1")=="true"
// comparison of a logical value (different) of a CheckBox field
getValue("GesCheckbox1")!="true"
// comparison of a text value of a RadioGroup field
getValue("GesRadioGroup1")=="audi"
// check whether a value, e.g. a session variable, is not empty
!!getValue("nazwiskoZew")
// check whether a value, e.g. a session variable, is empty
!getValue("nazwiskoZew")
// check whether the statement with MID oswiadczenie1 in the component with id GesStatementPopup1 has been accepted
getStatementItem("GesStatementPopup1","oswiadczenie1") == "true"
// check whether the statement with MID zdrowotne in the component with id GesStatementFlat5 (located in a composite component) has been accepted
getStatementItem("@GesStatementFlat5","zdrowotne")=="false"
// required condition for a field, if others are empty
!!!(getValue("@GesTextField13")||getValue("@GesTextField8"))
// checking combobox values
getValue("@GesCombobox1")!=2&&getValue("@GesCombobox1")>0
// check whether the TextField is visible
isVisible("@GesTextField1")=="true"
// check whether the number of characters in the TextField is 10
getValue("GesTextField5").length==10Last updated
Was this helpful?
