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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

clearing selection from drop down

(0) ShareShare
ReportReport
Posted on by 61

Hi, 

How to clear selected value from dropdown in CRM, on change of another text box value.

Thanks in advance. 

I have the same question (0)
  • Verified answer
    Marco.P Profile Picture
    2,405 on at

    Hi,

    you can achieve that by using business rules. You can verify a condition and then select the "Clear Field Values" option.

    Please refer to this:

    www.crmsoftwareblog.com/.../

  • Verified answer
    Miguel Lourenco Profile Picture
    on at

    Hi,

    You can also do it via JS with:

    Xrm.Page.getAttribute("field name here").setValue(null)

  • Suggested answer
    yogesh_Deloitte Profile Picture
    61 on at

    Thanks Miguel, I was doing silly mistake, instead of .getAttribute I was writing .getControl.

  • Miguel Lourenco Profile Picture
    on at

    Hi Yogesh,

    Happy to know we've helped.

    I will also mark Marco's response as answer because it is also a valid and good approach.

  • yogesh_Deloitte Profile Picture
    61 on at

    Agreed Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 146 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans