This is the field in the admin side form which is ment to be required.
<field name="exam_name"
type="text"
label="Name"
required="true" />
In the form if I leave this field empty (null) then it shows a validation error Invalid Field.
But if I leave a space then it submits the page and space stored in the database.
Is there a way to validate the form even a particular field is having space instead of empty?