Auto-populate a field in a form with the nocodb user's username [Apr 30]

:raising_hand_man: David (he/him) asked

Hello there! Just a quick question: is there a way to auto-populate a field in a form with the nocodb user’s username, if that user’s username is in a table where that field comes from? Does that make sense?

:raising_hand_man: wkw replied

I think not. can you show an detailed example?

:raising_hand_man: David (he/him) replied

I’m thinking about like a table of volunteers where volunteer.username would be the username they use to log into nocodb. Then a table of work shifts that link to that volunteer table. Then a form view for the work shifts table such that a volunteer could view this form and select a work shift to volunteer for, but they wouldn’t have to select the volunteer field in the form because they are already logged in with the username associated with that volunteer row in the volunteer table. So it would be auto-populated, you know?

Autogenerated from discord


Join NocoDB’s community

DiscordTwitterRedditDocs