Categories > OpenTBS with DOCX >

How work with "onshow" and "if"

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: zarp7
Date: 2015-05-06
Time: 14:26

How work with "onshow" and "if"

Hello everyone. there is here such code in word..

[onshow.no_26_1;if [val]=1;then [onshow.quantity_days];else 1][onshow.yes_26_1;if [val]=1;then [onshow.totol_day_90];else 1]

variables "no_26_1" and "yes_26_1" it cheackbox

[onshow.quantity_days] for example 15

[onshow.totol_day_90] for example 25

and in word I appears [onshow.quantity_days] instead of 15, how to be? thanks

By: Skrol29
Date: 2015-05-12
Time: 01:27

Re: How work with "onshow" and "if"

Use [var] for nested fields.

[onshow.no_26_1;if [val]=1;then [var.quantity_days];else 1][onshow.yes_26_1;if [val]=1;then [var.totol_day_90];else 1]