Numeric Field Even Numbers Only - No Odd Numbers
Hello,
I need a script on the Exit Event of a Numeric Field which tests that the number entered is Even. If odd, the field is nulled and set to focus.
I only need a way to test if the last character is : 0, 2,4,6 or 8 since that would be even but the number cannot be zero.
The number may be up to 6 numerals.
Thank you in advance.