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 NAV (Archived)
Answered

ShowMandatory field property on Decimal & Option type fields

(0) ShareShare
ReportReport
Posted on by

The ShowMandatory page field property doesn't seem to work on decimal or option type fields.

Is this a system limitation? or is there any condition or properties that can be used to make it work?

Has anyone else encountered this yet?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Found out that this is caused because these type of fields are not blank by default.

    Decimal fields and Option fields always have a default value.

    You can use the "BlankZero" property on the page or the table to clear the value in those fields, then the ShowMandatory will work on the page.

    Option fields need to have an InitValue = 0 (blank option)

    Thanks to Olof for the help :)

    www.olofsimren.com/functionality-improvements-in-nav-2015

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 NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans