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 is X or Y and delete if X and Y.

 

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.

 

To delete a textbox if one condition and the other is true, you 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 onl evaluated on the condition that the month is January, otherwise the entire token is replaced by a blank and the textbox is not deleted.


Topic 174340 updated on 16-Jan-2003.
Topic URL: http://www.qppstudio.net/webhelp/index.html?zapsbasedonmultipleconditi.htm