I have a text field that i want to writing in this format "9999999-99" without write the symbol "-" (see image 1).
What i want is to typing the first numbers and by him self skip the next character who is the symbol "-" and type the last two numbers.
The first look before write anything is like the the image 1. With the symbol "-" stable and read only.
After that i want the number to shown it as barcode below (see image 2).
You have 2 options...
Can you be more specified? How to add a calculate event on a barcode field? Where i have to add this (this.rawValue = lanumber.formattedValue;) or this (this.rawValue = firstSeven.rawValue + "-" + lastTwo.rawValue;)?
When i add the edit pattern "999999999" i get an error which have to add another one "9" to be equal with the comb field (see image below).ThanksKE.
You can ignore the warning. The display pattern will result in the dash being added when you tab out of the field, bringing you up to 10 characters in the field.
To add the calculate event to your barcode:
if (LANumber.rawValue != null)
this.rawValue = LANumber.formattedValue;
this.rawValue = "";