If then rules - I can't make them work?

W

Wenster

I have been trying to make field1, 2 or 3 feed data into in field2 based on
what the user enters in field3. The logic seems to make sense, but when i
populate field3, field1 remains blank.

Field1 = text box
Field2 = text box
Field3 = text box

Field3 = rule logic is if field4 = 1.0 then fill with data from Field1, if
field4 = 2.0 then fill with data from Field2, if field4 = 3.0 then fill with
data from Field3
Field4 = text box with directions for user to enter either "1.0 or 2.0 or 3.0"

I would prefer to use radios to replace field 4 - so the rules would say if
the first radio is checked, then fill field3 with data from field1.

No matter how I program it, field 3 remains blank.

Can you help
 
T

TomVervoort

Is this InfoPath 2007 ? First turn field4 into radio buttons. Then add a rule
to field4 where you can check it's value and act accordingly.

Field3 will be updated when the selection of the radiobuttons changes.

If it also needs to update when the text in one of the textboxes changes, I
guess you will have to implement the 'changed' event handlers on fields 1, 2
and 3 and put the logic there.
 

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