allows for digit and number options from parsley based on only_integer flag from NumericalityValidator