I created a publish form through some fields defined in a fieldset, some of these fields have
So I fill some content on the control panel in this form, which send the data to the add on controller that should handle and return a success message or error message.
When I was testing the form, it submits the content even if a required field is empty. How can I fix this ? I do not wish to send data if the required field is empty of course.
How can I fix this ?