Ok, I give up. Hours and hours wasted trying to get this simple script working.
I have hidden a number of fields upon form load (no problem).
I am trying to get some of these fields to display upon selection of a Multi Select Field.
e.g Multi Select Field (called Cakes) Contains
Whole Cake
Sliced Cake
Specialty Cake
So when I select say Whole Cake then I would like 2 hidden fields called Whole Cake Description and Whole Cake Cost should appear.
The script Im trying to use is as follows - Cakes - On User Input
if ( input.Cakes == "Whole_Cake")
{
show Whole_Cake_Description;
show Whole_Cake_Cost;
However when entering input.Cakes == "Whole_Cake" into condition deluge scripting popup window I get error
Error in statement at line number 1
Doesnt matter how many different ways i try it (with quotes, no quotes, double quotes), I can never get the script to work/save without some kind of error message.
Can someone please help?
Thanks
Clint