For card payments we accept a security code of 3 digits.
In some instances on some browsers (likely to be older IE versions) we have had occurences of a code with a 0 at the start (example 012) having the first 0 removed thus only allowing the input of 12. This therefore invalidates the security code.
We have this as a number input to allow number input only on mobile devices, I've a feeling this is the cause. However, is there anything we can do to stop this from happening?
The current input code is:
<input type="number" pattern="[0-9]*" size="4" value="$securitycode" name="securitycode">
Many thanks in advance.