Pure javascript Lib called iMask transform by Drakkar Team to Outsystems Component for use in service projects to implement masks validation for new Brazilian CNPJ AlphaNumber
CNPJAlfaMask - Block MaskIsAlfaCNPJValid - Client Action
Put the block in your widget treeImplement the onChange event
And see the magic appear
If want to make sure its a valid CNPJ , just use the client action IsAlfaCNPJValid in your logic