Zoho Creator - How to avoid multiple IF statements?
Hi All,
Is there a way to avoid multiple if statements by referencing a map or similar?
For example, I have dropdown list with 15 options. The input of this field will trigger different options in the form. I want to avoid 15 separate IF statements so it possible to have something along the lines of;
Create a map variable;
Option 1: A
Option 2: B
Option 3: C
Have a single IF statement to reference the map
IF (field = column 1 of the map)
{
fetch column 2 of the map
}
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.