Unable to Enforce Required Fields in DATAGERRY

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. :slight_smile:

Hi @MatHol,
we will have a look at it.

BR Adnan

1 Like

Hi Adnan,

thank you already! :slight_smile:

Hey @MatHol :blush:

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! :raising_hands:

1 Like

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. :slight_smile:

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