How to set text field max length from javascript (programmatically ) in MS Dynamic CRM 2016
Thanks in Advance
*This post is locked for comments
How to set text field max length from javascript (programmatically ) in MS Dynamic CRM 2016
Thanks in Advance
*This post is locked for comments
Do you want to actually change the field's max length in the schema or just limit its length on a given form? Hoping you just want to do it at the form level. If so, add an OnChange event and check the length of the value.
if (Xrm.Page.getAttribute("field").getValue().length > 10) { //do something }
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156