text box and check box problem..... [message #174318] |
Sat, 27 May 2006 11:08 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
oracleproblem
Messages: 47 Registered: May 2006 Location: Dhaka
|
Member |
|
|
friends,
i have a form this form contains one text box and a check box...
i want that when a form executes that time text box will be invisible...and if I click the check box that time text box will be visible ..........please help me ..... with examlpe
please help me...........masud
|
|
|
Re: text box and check box problem..... [message #174329 is a reply to message #174318] |
Sat, 27 May 2006 15:06 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
One way could be this:
In the WHEN-NEW-FORM-INSTANCE trigger hide text item using:
SET_ITEM_PROPERTY('text_item', DISPLAYED, property_false);
WHEN-CHECKBOX-CHANGED trigger should look like this:
IF checkbox_checked('checkbox_item')
THEN
SET_ITEM_PROPERTY('text_item', DISPLAYED, property_true);
END IF;
|
|
|