Hi All,
I'm quite new to Infopath(2010), so please be gentle. Anyway, I have a multiple selection list box(selectionBox) and have created a number of rules. For each option I want to be able to set a value in a corresponding text field. The text field will be used for a Sharepoint workflow
As an example I have 3 options( i have attached an Infopath example)
1.Option1 -> Set value in text field name field1
2.Option2 ->Set value in text field name field2
3.Option3 ->Set value in text field name field3
If you select Option 1 I want to set a text box(field1) value to say <domain>\<username> (this is hard coded to a username). If you deselect Option 1 I want to ensure I clear the value to blank.
If you select Option 2 I want to set a text box(field2) value to say <domain>\<username> (this is hard coded to a username). If you deselect Option 2 I want to ensure I clear the value to blank.
then same with Option 3.
For each option selected I have a set rule and a clear rule. The set rule runs when the selectionBox field equals Option1. The clear rule run when the selectionBox field DOES NOT equal option1. The same applied to the other options
What I'm finding is I'f I select Option 1, it sets the text field 1 to domain\username1. Then if I select Option 2, it set the text field 2 to domain\username2, but then clear text field 1 to blank.
Any help would be greatly appreciated.
Michael