How can I add two Masks into the same TextBox in Libreoffice Base?

Like (00) 00000-0000 and (00) 0000-0000 so I can insert a number or other in the same field and it will be recognized automatically Thanks…


It appears you are talking of a Pattern field and not a text box. Even with that there is only one mask for the field.

You could write a macro to change the pattern depending upon an option button. There are possibly other alternatives.

The purpose of this control is to be consistent with data entered. This is contrary to what you are requesting.