Using the IF Statement

P

paul conroy

InfoPath 2007

I want to change the value of a textbox based on the value of a checkbox. I
was hoping to use the IF statement, however this does not appear to be
available. Is there a way I can achieve this functionality?

TIA
 
S

Swathi (GGK Tech)

Hi,
You can achieve this using rule. For this follow the below steps.
1.Go to check box properties.
2.Click on Rules. And then click add.
3.Click Set condition. There set the condition when you want to change the
value of the text box. (ex: if the check box value is true then you want to
set the value of text box. In this case set the condition as select the check
box field in the first drop down of the condition window, is equal to in the
second drop down, TRUE in the drop down.)
4.Click Add action. Select set a field’s value in the action drop down.
5.Select the text box field in the Field box.
6.Enter the value you want to assign to text box in the Value box.
 

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