During the lead qualification process, the user can select Yes/No values for the Account, Opportunity, and Contact entities. Is it possible to know what options the user chose in the OnSave event using JavaScript?
Gotcha. In this case, I'm afraid the only way for you is to hide OOB button, create a custom that will open the dialog form that you will design, check the values the user selected, and perform the validation and qualification of the lead after.
We want to make certain fields as required based on the entities selected in the 'Qualify Lead' dialog and stop the user from Qualifying the lead.
Hi @rb207 ,
As @a33ik stated, unfortunately, there's no way to obtain the user's selection in this dialog from a JavaScript onSave event handler. But you tap into the corresponding server-side QualifyLead message, and build a plugin in which you will be able to grab this information from the execution context and then execute the desired logic that way on the server side
Hello,
I'm afraid it's not possible at the moment. Can you provide your scenario to check if there way around this issue?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Ragavendar Swaminatha Subramanian as our September…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 892 Most Valuable Professional
Power Apps 1919 356
MS.Ragavendar 310 Super User 2025 Season 2