The DataSwitch plug-in toggles the visibility of the container according to the incoming data.
Any value other than zero sets the container’s visibility to On
, zero sets the visibility to Off
.
Note: This plug-in is located in: Plugins -> Container plug-ins -> Data
Information: DataPool plug-ins only work properly on a single channel on the same machine.
Example
Field Name=VALUES[3]
. If the data entered is VALUES[0-2]=0, 1, 0;
, then the first and third children of the container the plug-in is attached to is deactivated and the second child is activated. If the data entered is VALUES=0
, the container itself is deactivated. If the data is VALUES=1
, the container itself is activated.