I tried searching through the forums for this issue already but no luck.
I have a field in an infopath form, lets say its called "jobtitle", and I would like to check it for a certain combination of letters after a user fills it in. So my conditional formatting looks like this (section properties > display > conditional formatting):
If this condition is true:
jobtitle contains "clerk"
Hide control
If the input is "clerk", "salesclerk", or "clerksales" everything is good to go, however as soon as I place a space between the entities it breaks the logic.
So for example "Sales Clerk" will show the control even though it does contain the string "clerk" at some point. I am basically looking to hide the section if the user types in anything remotely close to "clerk". Anyone have any ideas?
Thanks for the help