Hi guys,
I am using a notification to control the validation of the EAN field.
The notification is Dynamicweb.Ecommerce.Notifications.Ecommerce.Product.BeforeSave.
My purpose is to check if the value entered is a valid EAN-13 value and if it's not, to prevent the save and display a validation error.
The validation error can be a simple Alert or a message next to the field.
How can I accomplish this?
I have tried using "Response.Write" with a javascript code rendering the alert but it does not seem to work. Is there any way I can change or initiate the validation message on that specific field?
Thank you,
Adrian