very simple requirement but I find no solution: Only 4-digit numbers (e.g. 2344 or 2345) should be allowed in a numeric field.
I try to solve this with a validation pattern. My favorite pattern is "num{9999}". But this pattern validates also 1-, 2- or 3-digit numbers positive. Why? And what is the right pattern?