I am using the jQuery Mask Plugin and I have two formats I want to support but it's not working the way I want.
My mask formats are: F9999 V9999 M9
and F9999 V99999 M999
I am using this as the mask F9999 V9999?9 M9?99
My code:
$('#someInput').mask("F9999 V9999?9 M9?99");
I want to support optional characters in the middle but If I leave it empty and fill the next after M character everything goes one step back.
How can I use multiple masks with this plugin?