Zaps based on multiple conditions

Navigation:  Tokens > Zap Tokens >

Zaps based on multiple conditions

Previous pageReturn to chapter overviewNext page

You can combine zap tokens together 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

(any of the Zap conditions is 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 updated on 04-Aug-2017.
Topic URL: http://www.qppstudio.net/webhelp/index.html?zapsbasedonmultipleconditi.htm