empty

empty is a Comparison operation that returns true if all comparates are empty. Empty and "" are the same thing in Obyx. The empty operation can be useful for ensuring a posted form element contains data.

Examples of empty

<instruction>
	<output type="store" value="myStore" />
	<input>Test test test</input>
</instruction>
<comparison operation="empty">
	<comparate type="store" value="myStore" />
	<ontrue>I'm empty</ontrue>
	<onfalse>I'm full!</onfalse>
</comparison>
I'm full!



Last Modified: Thu, 15 Jan 2015