#IF(#FormError)
{InputError}
{PleaseCorrectErrors}
#ENDIF
#IF( #Shop.ShowProductRating AND
(NOT #Shop.ProductRatingImmediatelyVisible) AND
( (NOT #FUNCTION("EXISTSCHILD", #Shop.Child.MailTypes.Object, "NewProductRating")) OR
(NOT #Shop.Child.MailTypes.Child.NewProductRating.IsActive)
)
)
#ENDIF
#WITH_ERROR(#FormError)
#ENDWITH_ERROR