Answered
Hi,
Maybe someone knows solution of this problem.
My form has subform which is hidden unless the checkbox is checked . To achieve this effect I used following code for my checkbox. (For click event)
----- form1.#subform[0].Basic.Row1[1].conference::click: - (JavaScript, client) --------------------
if (conference.rawValue==1)
conferenceform.presence = "visible";
else
conferenceform.presence = "hidden";
It works but when I submit this form or reopen it, filled subform is hidden (but checkbox is still checked). I can view it after I uncheck and again check checkbox.
It should be visible after reopened.
Can anyone help? Maybe different type of event?
if (conference.rawValue==1)
{
conferenceform.presence = "visible";
}
else
{
conferenceform.presence = "hidden";
}
You might also be better off using the 'mouse down' event. I must admit I'm clutching at straws a bit there, but sometimes, it's those tiny things that make a difference. The Gurus of this site may disagree with me, but it could be worth a try.
Hope it works, Peta
from way... underground at Parkes - central West NSW - Australia