Como ocultar aba após enviar formulário

Olá, alguem poderia me ajudar.
Criei está aba para cadastro, mas apenas quero que a pessoa só faça uma vez e que depois a aba suma, alguem poderia me ajudar por favor? eu tentei em ir em visibilidade já, mas ó aparece isso:

eu só quero que essa aba fique oculta após enviar o 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