mibuso.com

Microsoft Business Solutions online community
It is currently Mon May 20, 2013 6:13 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to set lookup field on the form to not visible
PostPosted: Wed Dec 20, 2006 2:38 pm 
Offline

Joined: Thu Nov 03, 2005 5:13 am
Posts: 29
Location: Bangkok
Country: Thailand (th)
Dear All,

On Case form it has lookup field "Contract" and "Contract Line"
and i want to remove out of the form but i can not do it
how to write jscript code to set not visible the field or
somebody have another way to do

thank you
](*,)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 28, 2006 9:41 pm 
Offline

Joined: Mon Jan 31, 2005 11:35 am
Posts: 29
Location: Italy
Country: Italy (it)
To set the field to be not visible, write this Jscript code during the event triggered when the form is opened:

crmForm.all.FIELDNAME_c.style.visibility = 'hidden';
crmForm.all.FIELDNAME_d.style.visibility = 'hidden';

where FIELDNAME is the schema name of the filed you want to set as not visible. _c is for the field caption, _d is for the field itself.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 30, 2007 9:02 am 
Offline

Joined: Thu Nov 03, 2005 5:13 am
Posts: 29
Location: Bangkok
Country: Thailand (th)
Thank you. It work \:D/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: