Sorry for the late reply, I was away from the office.
I haven't solved it - I got sidetracked by other work. To answer your question, yes I'm trying to get the event message to show up in the back office.
The back story is we have a merchello integration with several kinds of product (each with their own DocType). In one of the products I have a product picker to select related items. However I want to limit that picker to only allow a subset of the available product types.
My plan was to implement a validation handler to check that and show an error / disable the save. Not sure if this is the correct or best approach :)
Product Saving Event - Not showing messages on cancel
Hey,
I am trying to build some custom validation for products. I need to validate fields on an Extended Content Type.
As a test I wanted to see if I can cancel the Saving event. I tried the following:
While the code is called, and the save appears to be cancelled, the message is not being displayed.
Am I using the right event? Is there another approach to custom validation in Merchello?
Hi Chris
Do you want to see validation message in the Umbraco back office?
Thanks,
Alex
Hi Chris
Did you solve your issue? Can I help you?
Alex
Hey
Sorry for the late reply, I was away from the office.
I haven't solved it - I got sidetracked by other work. To answer your question, yes I'm trying to get the event message to show up in the back office.
The back story is we have a merchello integration with several kinds of product (each with their own DocType). In one of the products I have a product picker to select related items. However I want to limit that picker to only allow a subset of the available product types.
My plan was to implement a validation handler to check that and show an error / disable the save. Not sure if this is the correct or best approach :)
Cheers, Chris
Hey Chris
Did you get a solution for the messages yet?
I too am looking for a way to show error messages on my question.
Cheers
Louis
Hi Louis, did you have a solution for this? If so, please share it.
thanks
Ronen
is working on a reply...