Home » Developer & Programmer » Forms » fields to be disabled whenever enterted from login form
fields to be disabled whenever enterted from login form [message #244275] Tue, 12 June 2007 04:03 Go to next message
lakshmi surya ram
Messages: 188
Registered: June 2006
Location: HYDERABAD
Senior Member

Hi folks,
I have desgined a login form.when the credentials are matched with the database. a form is called.
Now, when the login user is manager, all the fields in the forms are visible.
But when a junior level candidate entered with his login id some of the fields should get disabled.
can you guide me on this staff?

thanks in advance,
Surya
Re: fields to be disabled whenever enterted from login form [message #244309 is a reply to message #244275] Tue, 12 June 2007 05:27 Go to previous message
sanka_yanka
Messages: 184
Registered: October 2005
Location: Kolkata
Senior Member

First check the login user is your manager or not in WHEN_NEW_FORM_INSTANCE trigger and then you can disable the items using forms SET_ITEM_PROPERTY.

Rgs
Sanka
Previous Topic: Alert problem in FORM
Next Topic: Package logic
Goto Forum:
  


Current Time: Sun Dec 11 02:39:55 CST 2016

Total time taken to generate the page: 0.04512 seconds