Avatar

Level 4

Hi steve,

thanks for the hep earlier, i just have one other (hopefully simple question, if you can spare a few minutes) - namely can you/how do you attach a switch statement to a field (exit event) that uses the rawvalue of another dropdown list to determine what to do (another syntax issue i guess)...

here's my issue/code:

  switch (worktype.rawValue)

case "1": {

page3.para5.rawValue = f1 + this.rawValue +".";

}

         break;

case "2": {

page3.para5.rawValue = f1 + this.rawValue +"222222.";

}

        break;

case "3": {

page3.para5.rawValue = f1 + this.rawValue +"3333";

}}

// this code being attached to a different field than worktype....
thanks for all the help, it's a greta help to the newbies