2 Replies Latest reply on Dec 4, 2013 9:17 AM by ArmutElma

    Wildcard in an if statement

    ArmutElma

      Title

      Wildcard in an if statement

      Post

           Hello,

           I'm trying to use a wildcard in an if statement but I can't seem to be able to do it.

           So the logic is to check a drop down field and go to a layout depending on what the user selected.

           Drop down has over 30 items; half of them should go to one layout and the other half should stay on the same layout. The difference between the two is one set has the characters "kkli" and the other one has "kksiz". So if the user selects an item from the drop down that has "kkli" anywhere in the text string it goes to another layout. Otherwise stays on the same layout.

           If (Table::UserInput="*kkli*)

           Go to Layout(Layout Name:Page2)
           End If
            
           I tried using # or @ as wild characters. No success.
           I'm pretty sure it's a very silly question. Answer seems like it should be easy but I'm clearly not seeing it.
            
            Any help is appreciated.