31031

Mark mandatory fields on form, if not filled with valid value

if you create a new dataset, mandatory fields which are not set yet are marked with a wiggly red line.

it seems, that only string-values ( or several fields, but at least no integers ) are marked this way.

if integer-references are used ( 1-based ), the regarding fields are filled with 0 per default which causes the red line to disappear.

is there any way to leave those fields empty per default?

thanks for hints!

Answer1:

For integer and real fields you could set the ShowZero property to No (on the control or extended data type). Then zero values will appear with a red wave line.

For new base enums leave a blank zero enum value (by convention name it None).

Answer2:

Dynamics Ax does not have an "null" concept for fields. It uses some "zero" values for all data types - so you need to use some other NoYes field to express what you want if 0 is not empty

Recommend

  • How to make a messagebox disappear after 3 seconds?
  • UITableView cell goes blank when scrolling
  • Android Cursor RecyclerView does a flick on swipe
  • Fixed positioned elements disappear on page unload
  • Get both date and time in milliseconds
  • How can I get process name of specific PID with ps command in alpine
  • Using self.id to populate other fields in Django
  • Grails eager fetch doesn't retrieve all data
  • draw pie chart using iOS quartz 2D
  • How to expand parent div to account for child's overflow?
  • CakePHP 3: change order in dateWidget
  • C# Remove URL from String
  • Is it possible to “shrink” a PdfPtable?
  • How to Divide an array on c#?
  • How to set download location via chrome api
  • Pointer vs Reference difference when passing Eigen objects as arguments
  • LNK1104: cannot open file 'kernel32.lib'
  • Entity Framework ObjectContext: Concurrency
  • How to search a CSV file with php by checking if a date falls between 2 ranges
  • Want to understand iframe breakout code
  • Efficient & Pythonic way of finding all possible sublists of a list in given range and the minim
  • Can my PDF ping my server when it is opened?
  • Pycharm: Marking a folder as 'sources root' is not recursive for subfolders
  • Z3: Convert between FP and BitVector?
  • Date Conversion from yyyy-mm-dd to dd-mm-yyyy
  • Jackson Parser: ignore deserializing for type mismatch
  • ActiveRecord query for a count of new users by day
  • Use of this Javascript
  • How to use remove-erase idiom for removing empty vectors in a vector?
  • C++ Partial template specialization - design simplification
  • Repeat a vertical line on every page in Report Builder / SSRS
  • Why is an OPTIONS request sent to the server?
  • Why HTML5 Canvas with a larger size stretch a drawn line?
  • Counter field in MS Access, how to generate?
  • Spray.io: When (not) to use non-blocking route handling?
  • Modifying destination and filename of gulp-svg-sprite
  • Convert array of 8 bytes to signed long in C++
  • How to get next/previous record number?
  • GridView Sorting works once only
  • Python: how to group similar lists together in a list of lists?