Textbox Mask

jferrojferro Member Posts: 4
edited 2009-10-01 in Navision Financials
Good morning!!

I would like to create some masks in the textbox at the forms to force the user to type the informations in a specific way.

Example:
There is an information that I need to fill like: 123.456.789/0001-0

How can I do to verify if the information typed for the user is in this layout?

Another way can be the user just type numbers and when leave the textbox it put the "." "/" and "-" automatically.

Thanks.
Juliano.

Comments

  • BeliasBelias Member Posts: 2,998
    take a look at how validate trigger of "vat registration no." on customers works.
    Better, you can use this functionality in order to have your format be respected: it's nearly out of the box, you've only to create a new vat format and then bound your data to that format
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • matttraxmatttrax Member Posts: 2,309
    If you need the data to be stored in a specific way you should add code to the OnValidate trigger of that field on the TABLE.

    If you only need your information to be displayed a certain way you can add code to the OnFormat trigger of that field on the FORM.
Sign In or Register to comment.