AnsweredAssumed Answered

Wildcard in an if statement

Question asked by ArmutElma on Dec 4, 2013
Latest reply on Dec 4, 2013 by ArmutElma


Wildcard in an if statement



     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.