Request: Enable the save button of a form if all required fields are completed

I often wonder why this isn't the case, since saving would otherwise be impossible. I decided to add a show column that displays a message to the user if the form is ready to be saved ✔️

form saved.png

 

 

 

Status Open
0 4 88
4 Comments
Aurelien
Google Developer Expert
Google Developer Expert

Hi @Gustavo_Eduardo 

If you set "require" for all the required field, the save button won't perform anything.

Aurelien_0-1743484818694.png

Aurelien_1-1743484835230.png

That doesn't happen on your app?

Denzil_Snyman
Silver 4
Silver 4

@Aurelien I am taking a long shot here, I think Gustavo is wondering why the Save button cannot be hidden until all required fields are competed... 🙂

Aurelien
Google Developer Expert
Google Developer Expert

My bad @Denzil_Snyman you are right! hahaha I thought the feature idea was strange indeed...

Sorry @Gustavo_Eduardo for replying such an obvious point!

I got misled with the title of the post.

Exactly! As @Denzil_Snyman mentioned, I think there are times when (for one reason or another) the user might press "save," and the fields get saved, but some of them might be stored as empty. That’s why selecting "required fields" prevents saving.

Now, if I set certain fields as required, like said @Aurelien, and the form cannot be saved without filling them out, why enable the save button at all if those fields haven’t been completed? My request is to remove the possibility of saving by either disabling the button or hiding it until all required fields in that view are completed.

What I did was add a "show" column so the user knows when they can save. I’m also considering modifying the text of that "show" column to make it feel non-intrusive and to continuously inform the user of what’s happening (like a "save_ready" indicator).