Hi DonaldRLongII,
Do like this, take a text field and a button. Apply a rule on the button by double clicking -> Add -> Set Condition.
In the first combo box take field1 and 2nd combo box take contains and in 3rd combo box select text and type you text and click ok.
After that click Add Action Button and apply an action what ever you want.
Hope this will help you. If you want more details let us discuss.
B.Shiva Prasad
InfoPath Dev,
http://www.ggktech.com
India