Answered
I have a combo box with several options and I want to have a text field atomatically filled based on the choice in said Combo box. I've been trying the following and it does not work. Any ideas? Thanks
Triplequad
if (combo box1=='EB')
event.value = 65;
else
if (combo box1== 'TT')
event.value = 225;
else
if (combo box1== 'EB-SS')
event.value = 1000;
PS I'm trying this is in the 'Custom calculation script' of a text field box. I always get the message
"missing ) after condition
1: at Line 2"
...or something similar...
You could also use the 'switch' statement for the decision code.
George Kaiser