Stop redirect on form error in App Builder

Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?

Self-hosted

If you are self-hosting, what version of Baserow are you running?

version 2.0.3

If you are self-hosting, which installation method do you use to run Baserow?

Docker on Linux

What are the exact steps to reproduce this issue?

Hi team. I have a form in my App Builder for end users to fill out. If they don’t fill the form out correctly and submit it, the error pops up in the corner. However, if I want to redirect the user to another page (eg “Thanks for submitting” - it does this whether there is an error or not. So if the user fills out a field incorrectly and there is an error, the form is never submitted, but they think it is. Is there a way around this? I’m thinking something like “if no error, then redirect” or something like that? Thanks in advance.

Hello @spook!

I’m afraid this is a known limitation, you can follow the progress of improving upon it in #4528.

Cheers,

Peter Evans

Thank you! I’ve subscribed to the issue.

Hi team,

While waiting for the fix to be implemented on this - is there any way to stop the user from being able to submit the form if the “Required” fields are not filled out? On most form builders, you can make the “Submit” button greyed out if the required fields aren’t populated. Can we use some fancy js to achieve this here?