Hi,
I've a truefalseradiobutton(boolean), one DNLookup field and a
textbox. I want that when true button selected then DNLookup field
should be hidden and textbox should be shown. And when selected false
DNLookup field will show up and textbox will be hidden.

When form loaded, true or false button will be selected.

Here is my code,

On the onchange of truefalseradiobutton, fire event called,
*field.fireEvent("showHide");*

In DNLookup field, add event showHide,
IF(FORM.GETVALUE(\"TRUEFALSERADIOBUTTONNAME\") ==
TRUE)
FIELD.HIDE();
IF(FORM.GETVALUE(\"TRUEFALSERADIOBUTTONNAME\") == FALSE)
FIELD.SHOW();

In Textbox field, add event showHide,
IF(FORM.GETVALUE(\"TRUEFALSERADIOBUTTONNAME\") ==
TRUE)
FIELD.SHOW();
IF(FORM.GETVALUE(\"TRUEFALSERADIOBUTTONNAME\") == FALSE)
FIELD.HIDE();

- It didn't work.

- Any Insight will be appreciated.


--
abhijitrch
------------------------------------------------------------------------
abhijitrch's Profile: http://forums.novell.com/member.php?userid=45062
View this thread: http://forums.novell.com/showthread.php?t=363859