Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Make Field Bussiness required on Qualify Lead

Posted on by 335

Hello

i have requirement when user qulify lead,the Lead Status = Contacted (Must be Contacted prior to Qualification)

  • If Lead Status is New at time of Lead Qualification, present the  message to the user:You can't qualify this lead.

i have achieve this through plugin but after:

 abc(lookup) contains data (abc field is optional at Lead Save, but Required at Qualification)

i don't know how this i can implement.

Thanks in advance.

*This post is locked for comments

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: Make Field Bussiness required on Qualify Lead

    You should use pre-validation plugin to make validation on lead qualify button.

    Inside plugin you could check if status is New and through the exception.

    Else you can call js function on lead qualify button to validate lead qualification with message alert.

    Please refer below url for more details.

    pravinpawarweb.wordpress.com/.../

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Make Field Bussiness required on Qualify Lead

    As Goutam suggested, you can call the plugin on the lead qualification. There is a separate plugin message for lead qualification. Take a look at the post below on how to achieve this.

    crmknowhow.wordpress.com/.../

    The other option as previously mentioned is modifying the ribbon qualify command and having call your own custom script prior to calling the regular OOB script. return true if can qualify or false if cannot qualify.

    I would go with the plugin logic as shown in the blog post above.

    Hope this helps.

  • gdas Profile Picture
    gdas 50,085 on at
    RE: Make Field Bussiness required on Qualify Lead

    As you mentioned that you only need to make the field required only when you Qualify. So you can write logic in same plugin.

  • Yash Trivedi CRM Profile Picture
    Yash Trivedi CRM 335 on at
    RE: Make Field Bussiness required on Qualify Lead

    Hi Goutam,

    i have achive this  "i have requirement when user qulify lead,the Lead Status = Contacted (Must be Contacted prior to Qualification)" through plugin

    but i only want to make field reuired on qualify, on save it's optional....sholud i do within same plugin???on Qualify

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Make Field Bussiness required on Qualify Lead

    Hi Yash, 

    Is there any reason you are not to using  plugin for your scenario? In this scenario best options is plugin although.

    Another options would be ribbon customization. Take a look below articles - 

    ashwaniashwin.wordpress.com/.../add-validation-or-custom-script-to-oob-buttons-on-crm-forms

    mahadeomatre.blogspot.com/.../inject-your-code-before-crm-button.html

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans