Add stock required and pattern validation inline error messages.