hi all

On the phone call activity entity there is a field called subject which is
locked and set to business required. CRM allows the updating of this field
from business required to not required but does not allow the user to remove
this field from the form.

any ideas how i can make it invisible as this is not used in out business.

thanks in advance

regards
ridhima

RE: Activity Entity - make Subject field invisible by RidhimaSood

RidhimaSood
Tue Mar 27 20:03:11 CDT 2007

that works. thanks heaps

"Ridhima Sood" wrote:

> hi all
>
> On the phone call activity entity there is a field called subject which is
> locked and set to business required. CRM allows the updating of this field
> from business required to not required but does not allow the user to remove
> this field from the form.
>
> any ideas how i can make it invisible as this is not used in out business.
>
> thanks in advance
>
> regards
> ridhima

RE: Activity Entity - make Subject field invisible by RidhimaSood

RidhimaSood
Tue Mar 27 20:58:20 CDT 2007

Hey Umar
could you also advice me how to set focus on another field but subject in
the phone call entity for example - call date
by default when a new form loads the focus is set to the subject field


cheers
ridhima

"Ridhima Sood" wrote:

> hi all
>
> On the phone call activity entity there is a field called subject which is
> locked and set to business required. CRM allows the updating of this field
> from business required to not required but does not allow the user to remove
> this field from the form.
>
> any ideas how i can make it invisible as this is not used in out business.
>
> thanks in advance
>
> regards
> ridhima

RE: Activity Entity - make Subject field invisible by imumar

imumar
Tue Mar 27 21:01:34 CDT 2007

Yes you can. User following lines of code in your onLoad event of Phone
activity. Remember to enable the event and than save and publish the entity.

crmForm.all.subject_c.style.visibility = 'hidden';
crmForm.all.subject_d.style.visibility = 'hidden';

PLEASE do click on Yes or No button if this post was helpful or not for our
feedback.
--
take care,
uMar Khan
Email for direct contact: imumar at gmail dot com




"Ridhima Sood" wrote:

> hi all
>
> On the phone call activity entity there is a field called subject which is
> locked and set to business required. CRM allows the updating of this field
> from business required to not required but does not allow the user to remove
> this field from the form.
>
> any ideas how i can make it invisible as this is not used in out business.
>
> thanks in advance
>
> regards
> ridhima

RE: Activity Entity - make Subject field invisible by imumar

imumar
Wed Mar 28 04:32:03 CDT 2007

Yes sure;
PLEASE do click on Yes or No button if this post was helpful or not for our
feedback.

Following code in onLoad event of an entity will move focus to desired entity.
////////////////
crmForm.all.SOME_FIELD_ID.SetFocus();
///////////////

--
take care,
uMar Khan
Email for direct contact: imumar at gmail dot com



"Ridhima Sood" wrote:

> Hey Umar
> could you also advice me how to set focus on another field but subject in
> the phone call entity for example - call date
> by default when a new form loads the focus is set to the subject field
>
>
> cheers
> ridhima
>
> "Ridhima Sood" wrote:
>
> > hi all
> >
> > On the phone call activity entity there is a field called subject which is
> > locked and set to business required. CRM allows the updating of this field
> > from business required to not required but does not allow the user to remove
> > this field from the form.
> >
> > any ideas how i can make it invisible as this is not used in out business.
> >
> > thanks in advance
> >
> > regards
> > ridhima

RE: Activity Entity - make Subject field invisible by RidhimaSood

RidhimaSood
Wed Mar 28 16:00:02 CDT 2007

thanks Umar i did say this post was helpful and also clicked on the yes button.


"uMar Khan" wrote:

> Yes sure;
> PLEASE do click on Yes or No button if this post was helpful or not for our
> feedback.
>
> Following code in onLoad event of an entity will move focus to desired entity.
> ////////////////
> crmForm.all.SOME_FIELD_ID.SetFocus();
> ///////////////
>
> --
> take care,
> uMar Khan
> Email for direct contact: imumar at gmail dot com
>
>
>
> "Ridhima Sood" wrote:
>
> > Hey Umar
> > could you also advice me how to set focus on another field but subject in
> > the phone call entity for example - call date
> > by default when a new form loads the focus is set to the subject field
> >
> >
> > cheers
> > ridhima
> >
> > "Ridhima Sood" wrote:
> >
> > > hi all
> > >
> > > On the phone call activity entity there is a field called subject which is
> > > locked and set to business required. CRM allows the updating of this field
> > > from business required to not required but does not allow the user to remove
> > > this field from the form.
> > >
> > > any ideas how i can make it invisible as this is not used in out business.
> > >
> > > thanks in advance
> > >
> > > regards
> > > ridhima

RE: Activity Entity - make Subject field invisible by RidhimaSood

RidhimaSood
Wed Mar 28 16:08:03 CDT 2007

hi Umar

i have a field called call date in the phone call entity and basically the
line of code i used is as below (in the form on load event)


crmForm.all.new_calldate.SetFocus();

However by default the focus is set on the subject field in the phone call
entity and when i write this script, publish the customization and view it
below is the error i get:
"cant move focus to the control because it is invisible, not enabled or of a
type that does not accept focus"
i can confirm the call date field is visible on the form and it is a date
time field.
also when i click ok to this error message the cursor is on the call date
field.

can you please advice

regards
Ridhima