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

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

How to add onKeyPress event in dynamic 365 after version 9 using javascript

(0) ShareShare
ReportReport
Posted on by 5

I have a field called roll_number in a form its is text field , when the user inputs any number i want the javascript to console the numbers 

this is my code 

pastedimage1682496970838v1.png

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: How to add onKeyPress event in dynamic 365 after version 9 using javascript

    Hello,

    Which version are you on? If you are on the latest version your code won't work because fireOnKeyPress event handler is deprecated - learn.microsoft.com/.../important-changes-coming

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 55

#3
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans