filopastrymaker

Perform script based on contents of text field

Discussion created by filopastrymaker on Dec 21, 2016
Latest reply on Dec 21, 2016 by bertrand

If there is a text field with contents xxxxxxxxxxx, how can I define a set of scripts that look at the first 3 characters of the field and perform different scripts depending on the result?

 

eg

 

If (textfield first 3 characters) = abc or def or ghi

Perform Script A

 

else

 

If (textfield first 3 characters) = jkl or mno or pqr

Perform Script B

 

else

 

If (textfield first 3 characters) = stu or vwx or 123

Perform Script C

 

else

 

Perform Script D

Outcomes