Required fields that are not visible

I thought that I was doing that already. What am I missing?

So the problem is not that you have required fields that are not visible so the user can’t submit, or am I missing something here?

Yes… that is the problem.

Either that or something else is going on that I haven’t identified

1 Like

Here is the video again

Could you please share your app so I can look into it?

Hi Mark,
Here’s my app

This will be fixed on Tuesday. Thank you for reporting it!

2 Likes

Hi Mark!

It’s working now! Thanks for your prompt resolution!

1 Like

Has this been looked into yet?

I have a very extensive form I have created for a client. This form has a 3 step process and during the process, some of the fields are hidden until they are needed to be shown. These hidden fields are required. The issue is that the form can still be submitted as long as all currently visible fields are filled in.

Your issues seems to be different from this thread. The original issue was that a form could not be submitted when required fields were hidden (thus no longer required). Your issue is the opposite where you are hiding required fields, but they still are required. The native form screen wasn’t really designed to handle multiple paging like this. I would recommend creating a custom form instead. It will have the benefit that you can control which fields are required prior to showing a submit button and it has the added bonus that a user can leave the form and come back without having to start over.

4 Likes

If it’s too much to rebuild, I would advise using CSS here to help with removing the ability to submit.


<pre><span><style>

[data-test="nav-button-Submit"] {
pointer-events: none;
opacity: 0.4;
}

Then show/hide that rich text component based on the fields in your form.

2 Likes

Closing due to inactivity. This topic will be deleted in a few weeks if there are no more comments.