Skip to Content
0
Former Member
Dec 01, 2007 at 07:30 PM

Formcalc question

34 Views

I have 2 radio button. If i pick one, 2 fileds on the form become hidden, if i pick the other, the 2 fields become visible. How I implement this?

I wrote a pseudo code, because I'm a beginner at this. Perhaps you can help me.

My code within a radio button should be sg. like this:

if $ == true then

item.#subform[0].HC_LIST.presence = "hidden"

item.#subform[0].HC_Field.presence = "hidden"

endif.

Questions: 1)$==true is faulty, how do I check the radio button?

2) I want to have 2 commands within the condition, do I have to use some symbol for that, like {} in Java?

Thanks,

Peter