Forum Academy Marketplace Showcase Pricing Features

Mostrar dados do usuário logado

Meu primeiro post aqui. Saudações.

Quando um usuário logado vai para a página cadastro de usuários eu gostaria que fosse exibido os dados deste usuário logado. Somente dele. Pois assim, se ele quiser alterar algum dado já conseguirá fazer.

Como eu faço isso ? Grato

My first post here. Greetings.

When a logged-in user goes to the user registration page, I would like the data of this logged-in user to be displayed. Only from him. So, if he wants to change some data, he will be able to do it.

How do I do this? Grateful

Hi Sergio,

I will answer you in English, so more people can join the conversation :wink:

You can set the initial content of an input to be dynamic, and use an expression like this:
“Current user’s name”.

If your intention is to allow editing, you should also create an workflow with an event like: “An input’s value is changed” and select the input you set to be dynamic, then add an action to “make changes to a thing”, this will allow you to modify it on database.

Saudações brasileiras!

1 Like

Vlw Vini, estou quase entendendo a lógica pela sua explicação. Já consegui exibir o usuário logado. Mas quando tento alterar só alguma coisa no nome do usuário logado está exibindo a mensagem: “este e-mail já está em uso”.

Veja: UploadDeImagens.com.br - Bubble1.jpg

Vlw Vini, I’m almost understanding the logic by your explanation. I have already managed to display the logged in user. But when I try to change just something in the name of the logged in user, the message: “this e-mail is already in use” is displayed.

Instead of creating an action to “make changes to current user” you should create a “make changes to a thing” (Data “Things” > “Make changes to a thing”, then you set the thing as “Current user” and select the field you want to change).

image

Have you seen the Portuguese page here in Bubble Forum? There you can ask for help in Portuguese :slight_smile:

Deu certo. Muito grato. De agora em diante vou postar na página PORTUGUÊS. Antes de ir, pergunto: Como faço para limitar um input numérico a apenas 2 caracteres ? exemplo: permitir apenas 00 a 99 ? abraços.

It worked out. Thank you very much. From now on I will post on the PORTUGUESE page. Before I go, I ask: How do I limit a numeric input to just 2 characters? example: allow only 00 to 99 ? hugs.

1 Like

You are probably looking for some configuration like that on your input:
image