Solved

InputMask for DAC field enforces fixed length

  • 3 November 2020
  • 1 reply
  • 890 views

Userlevel 2
Badge

Hello,

I have a problem with setting an InputMask for a string field at a DAC class (derived from IBqlTable).

It should be very simple: Just allow any number of uppercase letters and digits.

I started with InputMask=”>”. Then the user can enter nothing at all.

InputMask=”>AAA” forces exactly three characters.

(No, IsFixed is not set to true!)

I’ve also tried regular expressions but they are taken as fixed characters.

Any ideas?

icon

Best answer by Nayan Mansinha 11 November 2020, 17:07

View original

1 reply

Userlevel 4
Badge +2

Each control character represents single character.  Read this https://help-2020r1.acumatica.com/(W(1))/Help?ScreenId=ShowWiki&pageid=d2706594-1ff1-5e7d-97e8-2388ce0daea7

So, it is behaving as designed.

And, regular expressions are not support.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved