You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the domain TacoOrder, as CVV needs to be 3 digits, the current validation presented does not check for the minimum digits required, rather only the maximum digits allowed.
Suggest to use the following regex pattern matching for constraint:
@Pattern(regexp = "^[0-9]{3}$", message = "Must be 3 digits")
privateStringccCVV;
The text was updated successfully, but these errors were encountered:
For the domain
TacoOrder
, as CVV needs to be 3 digits, the current validation presented does not check for the minimum digits required, rather only the maximum digits allowed.Suggest to use the following regex pattern matching for constraint:
The text was updated successfully, but these errors were encountered: