Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1919 Weergaven

Hello,

I have a section for Previos School in a form in the form of tree. It has no required field. When i save it it save an empty record also. how can i solve this?

Avatar
Annuleer
Beste antwoord

override the create method and check at least one field has value otherwise raise the error.

Avatar
Annuleer