I am currently experiencing an issue with enforcing required fields in DATAGERRY. Despite configuring fields as mandatory and utilizing regular expressions (e.g., .+ to prevent empty inputs), the system continues to accept empty values during object creation and updates. Is there any fix you know about? Datagerry is updated to the latest version. ![]()
Hi @MatHol,
we will have a look at it.
BR Adnan
Hi Adnan,
thank you already! ![]()
Hey @MatHol ![]()
Thanks for reporting this. That’s interesting — on my side, the required field validation seems to work fine during object creation.
Could you maybe describe the behaviour step by step, like:
- How exactly you configured the required field (including regex)?
- What steps you’re following during object creation and update?
- Are you seeing this issue consistently, or only under specific conditions?
It’d help a lot to understand the flow and reproduce it. Thanks! ![]()
Hi Khalid,
in my Objecttype I configured a Textfield. In this I say “.+” in the Regexfield. When I save everything and create now a new object and leave the Textfield empty - there is no Error and the Object is created.
Maybe there is a better way to enforce required fields - but I dont know about them. The exact goal i try to reach is that a Reference field is enforced - but after asking CHatGPT it told me I cant enforce References - only Textfields etc. ![]()
Hi @MatHol,
the Regex is just there to validate the content of the field but to make a field required you need to click the Checkbox in the top left corner of the field “Required/Idenfitier”(in the type configuration).
BR Adnan
