0 votes

Hi,

I'm trying to create a Word Template where i'm asking some fields.

If the field has no value, then write "No value", if the field has a value (else), then show the value.

But it's not working...

Can someone correct my code.

[$OnField(OPPO.F_TOTAL_ESTIMATIF, condition=EQUAL, value='',then='NO VALUE', else='')]

asked in How to by (102 points)

1 Answer

0 votes

Is the field F_TOTAL_ESTIMATIF numerical or alphanumerical? If it's numerical, you're value might never be an empty value, but just zero.

For the sake of your test, also provide something in the else argument. If the else value is displayed in the merged result, it means your tag is correct, but only your condition doens't evaluate as true.

answered by (6.8k points)
Welcome to Efficy Overflow, where you can ask questions and receive answers from other members of the community.
1,165 questions
1,423 answers
1,713 comments
325 users