• Lipton
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 5
    Replies

Hi Everyone,

 

I need help on how to display multi pick-list to checkboxes value,

I've a field multipick_list__c in Account object, how do I make the object displayed as multi picklist using visual force?

 

Thank you 

Hi Everyone,

 

I'm having a problem with Test Trigger it says 0%, I've done reasearch but still no luck or no idea how to do it.

my code as follows;

 

 

trigger disabilityChecked on Care_Recipient_Information__c (before insert, before update)
{

 

Boolean disability, chronic;

 

for (Care_Recipient_Information__c obj : Trigger.new)

{


if ((obj.DMD__c == true) ||
(obj.DS__c == true) ||
(obj.Learning_Disability__c == true) ||
(obj.Spina_Bifida__c == true) ||
(obj.Hearing_Disability__c == true) ||
(obj.Visual_Disability__c == true) ||
(obj.Dyslexia__c == true) ||
(obj.Physical_Disability__c == true) ||
(obj.Rare_Syndromes__c == true) ||
(obj.ID__c == true))


{
obj.DisabilityNumber__c = 1;
disability = true;
obj.Disability__c = disability;
}

 

else
{
disability = false;
chronic = false;
obj.Disability__c = disability;
//obj.chronic_Illness__c = chronic;
}

 

}//FOR

}//END

 

Thank you for the assistance,

  • March 24, 2013
  • Like
  • 0

Hi Everyone,

 

I'm having a problem with Test Trigger it says 0%, I've done reasearch but still no luck or no idea how to do it.

my code as follows;

 

 

trigger disabilityChecked on Care_Recipient_Information__c (before insert, before update)
{

 

Boolean disability, chronic;

 

for (Care_Recipient_Information__c obj : Trigger.new)

{


if ((obj.DMD__c == true) ||
(obj.DS__c == true) ||
(obj.Learning_Disability__c == true) ||
(obj.Spina_Bifida__c == true) ||
(obj.Hearing_Disability__c == true) ||
(obj.Visual_Disability__c == true) ||
(obj.Dyslexia__c == true) ||
(obj.Physical_Disability__c == true) ||
(obj.Rare_Syndromes__c == true) ||
(obj.ID__c == true))


{
obj.DisabilityNumber__c = 1;
disability = true;
obj.Disability__c = disability;
}

 

else
{
disability = false;
chronic = false;
obj.Disability__c = disability;
//obj.chronic_Illness__c = chronic;
}

 

}//FOR

}//END

 

Thank you for the assistance,

  • March 24, 2013
  • Like
  • 0