If field is empty - clear another field too
How would I add to the below scrip to say:
if Enrolled_Classes field is empty (ie all classes have been deselected) clear any value in Type_of_Student field?
if(Enrolled_Classes.Stream == "Cheer Advanced" || Enrolled_Classes.Stream == "Cheer Elite" || Enrolled_Classes.Stream == "Dance")
{
input.Type_of_Student = "Other";
}
else
{
input.Type_of_Student = "Cheer Sport, Cheer Fun or non-competitive ONLY";
}
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 WorkDrive 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.