Missing something with required fields in a form

Hello, making good progress on my project. I’ve tested the use of the required field option and I’m missing something because the form submits when that field is null. Is there a workflow needed or something else needed to make it work?

Thanks,
Bill

What is the trigger for your workflow? Are you using a form container?
image
In order to block the workflow from triggering with a required input you need

  • the input to be inside a form container
  • the workflow should be triggered by the “on submit” event (not a “on click” on a button)
2 Likes

Thank you @dorilama. That solves it. I had the form in a regular container.

Much appreciated!

2 Likes

I’m using Required fields in a form and the form is sent via the Submit button/event. But the Submit workflow is executed although some required fields are not filled in. I’ve implemented an error workflow and it gets triggered since I can’t store an empty entry in some database table fields.
If I understood the guides and this answer correctly, errors should be displayed before even submitting the form.

post screenshots (elements tree and workflow) here, or even better in a new topic, so we can see what’s your setup

Thank you! I’ve created a new topic here: Mandatory (required) form fields not filled in > no error on Submit