numeric validation for the repeat control.