How to restrict the custom field of type whole number to non negative/ natural numbers with minimum 9 digits and maximum 14 digits. How to write JavaScript code to achieve this.
Hi partner,
Unfortunately in D365, whole number field only support maximum 10.
And I also replied your another thread with similar question.
Regards,Leo
Hi Sandy,
Would recommend you to create single line text and apply Regex Validator custom PCF control.
pcf.gallery/.../
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 Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 235
MVP-Daniyal Khaleel 175
Tom_Gioielli 156 Super User 2025 Season 2