Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Fetch OnClick event of Lookup field

(0) ShareShare
ReportReport
Posted on by 72

Hello,

I am trying to fetch an OnClick event of Lookup Field since I have to pass variables having field name while calling a function when NEW record is created.

I tried using PreSearch event handler but it is working only when a search icon is clicked. 

pastedimage1654064906916v1.png

I would rather want to capture the click event of field and call a function on that.

All suggestions are welcomed.

Thank you in advance.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Fetch OnClick event of Lookup field

    Hi Mansi M,

    Unfortunately, there is no onclick event on lookup fields. Here is the list of client-side events and no event can achieve your requirement:

    docs.microsoft.com/.../events

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans