Mathias
How to ensure that a relation in a relation manager has at least one entry ?
I'm not sure to understand why it doesn't make sense. Maybe i didn't give enough context.
The order creation is initiated from a widget that triggers a modal where I only have the 3 required field to create an order.
At this stage I do not have any relation manager displayed.
After this modal, i redirect the user to the edit page of the order where there is an orderline relation manager.
It's when the user save the order form that I want to check if the orderline relation manager is empty or not.
(That's why I want to validate the form on the update only).
9 replies