CRM 2011 filed enable
-
Thursday, May 03, 2012 7:51 AM
Hi
I have situation like
I have few columns in opportunity entity
Firstname,lastname, topic, existingcustomer, weburl,email,fax etc...
same fields available in same entity with diffrent name..
my condition same as Lifeinsuranceperson have assing same values to life_firstname,Life_lastname, Life_weburl, Life_email, Life_fax, Life_existingcustomer
I can able to assing the values it's fine..
My issue is: Life_existingcustomer is an option set based this condition also have to change the values.. while set the value event is not fire
how can i do based on the text chnage also?
_Regards
Rammohan
All Replies
-
Thursday, May 03, 2012 8:25 AM
Hi Rammohan,
Can you please again explain your problem. Also when you say assing, what do you mean. In case you can post some screen shots that will be great.
Thanks.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
-
Thursday, May 03, 2012 8:27 AMJust to add, you can add JavaScript on the onchange event of the text field by going into the form properties.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
-
Thursday, May 03, 2012 8:50 AM
Hi guys,
It seems you are not understand my issue...
I have Existingcustomer field is there values are (yes , No)
i have another filed like abc_existingcustomer values are (yes, No)
if(abc_existingcustomer == yes) will enable abced field it's fine No i will disbale the abced field it's working fine
Now come to actual issue
Existingcustomer fiels is yes i have assing the values to abc_existincustomer no need to select again abc_existingcustomer..
that means abc_existingcustomer event won't fire because just set setvalue of existingcuromer.. now how can i cable the abced field
Rammohan
-
Thursday, May 03, 2012 8:58 AM
Hi Rammohan,
How are you assigning the value from Existingcustomer to abc_existincustomer?
If that is in a JavaScript, when you assign the value, at that place enable the abced field. You can also add a JavaScript on the onChange of Existingcustomer field. In this JavaScript you can enable/disable the abced field.
I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- Proposed As Answer by Ashish Mahajan Australia (Architect) Thursday, May 03, 2012 8:58 AM
- Unproposed As Answer by Rammohan Ammiti Thursday, May 03, 2012 9:15 AM
-
Thursday, May 03, 2012 9:06 AM
Hi Asish,
I have get the value of Existingcustomer using get method
nd setvalue to the abc_Existingcustomer.. it's fine right...
but abc_exisitngcustomer value am not going to select it.. it's comming automatically based ont eh Exisitingcustomer value right..
abc_exsiting value customer option set value is Yes.. have to enable another control
but it's not happend
i feel if text changed event is there it will work.. but crm text change event is not there any other possiblity is there..
i have called the method both onchange and formload ..
if i'm going to select the values as Yes it will work.. but i don't want like that.. based on that value it automatically enable that field
Rammohan