Score:0

how to use the user who submitted the webform as a token

cn flag

i set up user accounts for my staff and i have added custom field "field_role". i enter information here.

my staff then enter their details in a webform. i want the webform to automatically enter "field_role".

the problem is i can't find a token like [user:field_role]. the only option allowed is [current-user:field_role]

why this is a problem is the webform automatically updates the field if i use [current-user:field_role] when i access my staff's account. i don't want my field_role automatically entered in this field, i want to ensure the field remains as the employee's field_role

beltouche avatar
cn flag
I'm trying to follow the use case: Is this using webform's "calculated field?" When you say "access," do you mean you're editing the submission, or is this value changing just because you're viewing it?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.