Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Validate prices on entry


Is it possible to validate prices when users add them?

I'm looking at the following documentation - - which suggets there are events than can be listened for.

Is it therefore possible to reject a pricing entry if a user added if they added an incorrect Sales Code for example?


Sep 30, 2015 12:26


The event is for reacting after prices have been saved. So if you want to validate, you will need to implement yourself: Create a class inherited from PriceDetailService, then override ReplicatePriceServiceChanges and Save methods and do the validation here. Register this class as the instance of IPriceDetailService in your IConfigurationModule.



Sep 30, 2015 23:38


Oct 02, 2015 16:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.