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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Can you require a certain amount of characters on a field?

(0) ShareShare
ReportReport
Posted on by

I know we can set character limits but is there a way to set a certain amount of characters a field must have?  For example if an ID number is 5 digits can I set the field that it requires 5 digits so that it won't allow saving with anything more or less than 5?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    Hi

    You would have to use custom code.

    Please refer the following thread:

    community.dynamics.com/.../188935

  • Suggested answer
    Lakshmisha Shetty Profile Picture
    on at

    Hi,

    You can set the min require length to any field using the JavaScript. there is no OOB feature available for this.

    Mark as Answered if it helps you.

  • Suggested answer
    Community Member Profile Picture
    on at

    You can do it in 2 ways. First one is to set limit in field properties. Second way is Javascript.

    Refer this:

    community.dynamics.com/.../229260

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans