Skip to main content
Solved

InputMask for DAC field enforces fixed length

  • 3 November 2020
  • 1 reply
  • 998 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 Mansinha

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.

View original

Nayan Mansinha
Community Manager
Forum|alt.badge.img+2
  • Acumatica Developer Support
  • 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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings