Skip to main content
Answer

InputMask for DAC field enforces fixed length

  • November 3, 2020
  • 1 reply
  • 1051 views

Forum|alt.badge.img

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?

Best answer by Nayan Vadher

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.

1 reply

Nayan Vadher
Community Manager
Forum|alt.badge.img+2
  • Acumatica Developer Support
  • Answer
  • November 11, 2020

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.