web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Changing attribute value on changing value of a picklist

(0) ShareShare
ReportReport
Posted on by

There is an attribute A whose type is picklist. Another attribute B has multiple check box values.Multiple options can be selected.When I select a value from A,some set of multiple options needs to be displayed for B.When I select another value from picklist,some other set of multiple options needs to be displayed for B.What is the code that needs to be written.Please help

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Hosk Profile Picture
    on at

    you would check the value in the picklist and then hide and show the check boxes

    You can do this using javascript, these articles show you how

    archive.renauddumont.be/.../CRM-2011-Dynamically-show-or-hide-fields-using-javascript

    danielbergsten.wordpress.com/.../crm-2011-javascript-for-hiding-a-field-based-on-another-fields-value

  • Verified answer
    Hosk Profile Picture
    on at
  • Community Member Profile Picture
    on at

    Thanks Ben for the reply but I have done half of the work by creating multi select check boxes.Now I need to create 4 of these in 4 different sections.I will hide 3 of them and show 1 on selecting a particular value from the picklist.The picklist has 4 values.I know that I will have to write the js code on the onchange event.but it is not working.I am confused.

    Please advise how to proceed.Thanks in advance

  • Verified answer
    Hosk Profile Picture
    on at

    if you are using CRM 2013 you could use business rules.

    You say it isn't working but what isn't working.

    Can you hide the checkboxes

    don't forget to show and hide certain checkboxes when you change picklist value.

    You will probably need to hide them all onload, unless you have a default value.

  • Community Member Profile Picture
    on at

    Thanks again Ben.I have created some sections.I am not able to hide them all on onload.I dont know the code.

    When I should select a value from a drop down a particular section needs to show on load.On any other value of a picklist some other section should show.The picklist by default has no value selected.

    I am using CRM 4.0.Thanks in advance

  • Suggested answer
    Hosk Profile Picture
    on at

    here you go sir, here is how to hide sections in CRM 4

    sliong.wordpress.com/.../crm-4-0-hide-field-section-tab-with-javascript

    this is also a good post

    www.magnetismsolutions.co.uk/.../Hiding_Sections_on_a_CRM_4_Form.aspx

  • Suggested answer
    Hosk Profile Picture
    on at

    here you go sir, here is how to hide sections in CRM 4

    sliong.wordpress.com/.../crm-4-0-hide-field-section-tab-with-javascript

    this is also a good post

    www.magnetismsolutions.co.uk/.../Hiding_Sections_on_a_CRM_4_Form.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans