Answered by:
Add attribute at runtime on crm form

Question
-
Hi friends ,There is a requirement to add a attribute at runtime on crm form, is this possible ?if possible please let me know, how this can be achievedThanks in AdvanceRegards,Kumar
kumarSunday, August 16, 2009 7:26 AM
Answers
-
Hi, Kumar.
This can be done but easier way - is to add those attribute permanently and depends on your conditions - show it or hide.
Truth is opened the prepared mind My blog - http://a33ik.blogspot.com- Proposed as answer by Tiaan van Niekerk Sunday, August 16, 2009 9:11 AM
- Marked as answer by DavidJennawayMVP, Moderator Tuesday, August 25, 2009 3:58 PM
Sunday, August 16, 2009 8:21 AMModerator -
crmForm.all.name_c.style.visibility = 'hidden';
crmForm.all.name_d.style.visibility = 'hidden';
Ofcourse modify the name_c and name_d to the correct fieldname_c and fieldname_d.
Tiaan van Niekerk http://crmdelacreme.blogspot.com Skype:tiaan.van.niekerk1- Marked as answer by DavidJennawayMVP, Moderator Tuesday, August 25, 2009 3:59 PM
Sunday, August 16, 2009 9:14 AM
All replies
-
Hi, Kumar.
This can be done but easier way - is to add those attribute permanently and depends on your conditions - show it or hide.
Truth is opened the prepared mind My blog - http://a33ik.blogspot.com- Proposed as answer by Tiaan van Niekerk Sunday, August 16, 2009 9:11 AM
- Marked as answer by DavidJennawayMVP, Moderator Tuesday, August 25, 2009 3:58 PM
Sunday, August 16, 2009 8:21 AMModerator -
crmForm.all.name_c.style.visibility = 'hidden';
crmForm.all.name_d.style.visibility = 'hidden';
Ofcourse modify the name_c and name_d to the correct fieldname_c and fieldname_d.
Tiaan van Niekerk http://crmdelacreme.blogspot.com Skype:tiaan.van.niekerk1- Marked as answer by DavidJennawayMVP, Moderator Tuesday, August 25, 2009 3:59 PM
Sunday, August 16, 2009 9:14 AM -
clone the two fields can add another field. :D
韓建興 http://jamson.cnblogs.comSunday, August 16, 2009 1:06 PM