Tamper: Convert to Boolean¶
Plugin ID: eca_tamper_condition:convert_boolean
Available since: 1.0.0
Convert to boolean.
Fields¶
Comparison operator— config key:operator-
The available comparison operators like equals or less than.
When using the "Defined by token" option, make sure there is a token with this name: eca_tamper_condition:convert_boolean_operatorType:
select· Required: no · Default:equalAllowed values:
equal,beginswith,endswith,contains,greaterthan,lessthan,atmost,atleast,_eca_token,'' Comparison type— config key:type-
The type of the comparison.
When using the "Defined by token" option, make sure there is a token with this name: eca_tamper_condition:convert_boolean_typeType:
select· Required: no · Default:valueAllowed values:
value,natural,numeric,lexical,count,_eca_token,'' Case sensitive comparison— config key:case-
Compare the values based on case sensitivity.
Type:
checkbox· Required: no · Default:false Negate the condition— config key:negate-
Negates the condition. Makes TRUE to FALSE and vice versa.
Type:
checkbox· Required: no · Default:false Truth— config key:true_value-
The value set to true.
Type:
textfield· Required: no · Default:true False— config key:false_value-
The value set to false.
Type:
textfield· Required: no · Default:false Match case— config key:match_case-
If enabled, the comparison becomes case-sensitive.
Type:
checkbox· Required: no · Default:false If no match— config key:no_match_value-
The value to set if the true and false values do not match.
Type:
radios· Required: no · Default:falseAllowed values:
true,false,null,pass,other Other text— config key:other_text-
Type:
textfield· Required: no · Default: empty string Data to be tampered— config key:left-
Type:
textarea· Required: yes · Default: empty string Data to compare with— config key:right-
Type:
textarea· Required: yes · Default: empty string