You can combine zap tokens to obtain compound conditions, such as delete if X or Y and delete if X and Y.
OR (any of the Zap conditions is true) |
To delete a text box if one condition or the other is true, simply place 2 zap tokens in the same textbox.
[1zd#=6][1zd#=7]
The above combination of tokens will delete the current textbox if the token's date corresponds to either a Saturday or a Sunday. |
AND (all of the Zap conditions are true) |
To delete a textbox if one condition and the other is true, you can use a conditional token with a zap token. For example, to delete only on January 1st, you would use :
[1?m=1|_zd=1_|]
In the above example, the zap token is only evaluated on the condition that the month is January, otherwise the entire token is replaced by a blank and the textbox is not deleted. |
See also: zap tokens, conditional tokens.
Topic 174340, last updated on 18-Sep-2024