Skip to content

Instantly share code, notes, and snippets.

@carloswm85
Created July 31, 2025 17:14
Show Gist options
  • Save carloswm85/ca5cc061256078a04d3b2810fe67b86d to your computer and use it in GitHub Desktop.
Save carloswm85/ca5cc061256078a04d3b2810fe67b86d to your computer and use it in GitHub Desktop.
For jQuery
// Mask the field for the GDE file name input https://stackoverflow.com/a/56704775/7389293
$('.cuitcuil-mask').mask('00-00000000-0', {
'translation': {
//'#': { pattern: /#/, fallback: '#', optional: false },
},
placeholder: "__-________-_"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment