- {"selector":"#InputName"} // Show if: not empty
- {"selector":"#InputName", "value": true} // Show if: not empty
- {"selector":"#InputName", "value": false} // Show if: empty
- {"selector":"#InputName", "value": "hello"} // Show if: value is "hello"
- {"selector":"#InputName", "value": ["yes", "no"]} // Show if: value = "yes" or "no"
- {"selector":"#InputName", "value": 5} // Show if: value length >= 5
///
{"selector":"#color"}
{"selector":"#color","value":true, "compare": "NOT EMPTY", "type": "STRING"}
{"selector":"#color", "value":false}
{"selector":"#color","value":false, "compare": "EMPTY", "type": "STRING"}
{"selector":"#color","value":"blue"}
{"selector":"#color","value":"blue", "compare": "EQUAL", "type": "STRING"}
{"selector":"#color","value":10}
{"selector":"#color","value":10, "compare": "GREATER THAN OR EQUAL", "type": "CHAR"}
{"selector":"#color","value":["yes", "no"]}
{"selector":"#color","value":["yes", "no"], "compare": "IN", "type": "STRING"}
{"selector":"#color","value":[10, 20]}
{"selector":"#color","value":[10, 20], "compare": "BETWEEN", "type": "CHAR"}
{"selector":"#color","value":"#blue", "type": "ELEMENT"}
{"selector":"#color","value":"#blue", "compare": "EQUAL", "type": "ELEMENT"}
{"selector":"#color","value":"#blue","compare": "GREATER THAN OR EQUAL", "type": "ELEMENT"}
{"selector":"#color","value":"#blue", "compare": "GREATER THAN OR EQUAL", "type": "ELEMENT"}
- data-storepress-conditional-field--relation="OR"
- StorePress.Utils.triggerEvent( document, 'storepress_conditional_field_destroy', {
element: [ '[data-storepress-conditional-field]' ],
settings: {},
} )