If-statement

D

Drikus Mouton

I am using infopath for an evaluation-form. I have two textboxes, one for a
calculated number and the other one for a word based on that number. For
example: if the number is less than 100, the word must be "fail", if the
number is between 100 and 130, the word must be "re-test" and if the number
is above 130, the word must be "pass". How do I use an if-statment for this
in InfoPath, or are there another way to achieve this?
 
V

virgul

hi,

Your probleme is not very hard to resolve.
Use the conditionnal formating.

for your second textbox replace by 3 xpath expression box

First xpath expression box contain: fail conditionnal formating= hide
this control when textbox 1 is >100 and hide this control if textbox 1
is empty.

and the same logic for the 2 other xpath expression box.
that's the simple way without that have write a code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top