Allow only one "." into inputs with only-digits directive