Mandatory (required) form fields not filled in > no error on Submit

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.
If I understood the guides and this answer correctly, errors should be displayed before even submitting the form.

This is part of my form tree:

One of the fields (included in tree above):
image

Required enabled:
image

To confirm that I’m using the Submit workflow of the form container:
image

The first step in the Submit workflow:
image

I can’t see any error on my side.

See also Missing something with required fields in a form - #2 by dorilama

if you open the debug left panel and check the input variable what’s its value?

That’s really weird! I deleted the entry in Address 1 and tried saving and suddenly WeWeb said that this field must be filled in!

image

But I’m absolutely sure that I did exactly the same thing before and there was no message.

I just wonder why Address 2 value is null after saving. I also removed Address 1 in the database table directly and after that, the value wasn’t null but “”. And although it’s a required field, Supabase didn’t report an error on saving. But that’s another story.

Anyway, it seems the issue doesn’t exist anymore but I will keep an eye. Sorry for bothering you!

1 Like