Como ocultar aba após enviar formulário

You currently have it set up to show the tab if the user profile name is not empty. So that means If you already have a name for the signed in user, then the tab is going to show. That seems backwards. Wouldn’t you want to show the tab when it’s empty instead?

You are also using a form container which is wrong. When a user signs in, they will already have a row created for them automatically. Your form container will add another row instead of editing the existing row, so it will never work like you expect it to.

3 Likes