Equal to - smbc-digital/form-builder GitHub Wiki

The Equal to condition checks whether an answer to an input of a radio button or text field question is equal to a given a value.

The condition syntax is:

New Syntax

{
    "conditionType": "EqualTo",
    "comparisonValue": "pears",
    "questionID" : "favorouriteFruit"
}

for "pears" this gives true for "apples" this gives false

Legacy Syntax

{
    "equalTo": "pears",
    "questionID" : "favorouriteFruits"
}

Legacy syntax is the one working currently