How to automatically populate the field in the form with logged-in user name?

Hi,

Can anyone advise how to automatically populate the field in the form with logged-in user name?

Scenario:

Someone created a new ticket in the warranty database and I would like to automatically capture the name of the person instead of using the drop-down box..

I've found some info about the javascript "Knack.getUserAttributes().name" function but no clue how to use this.. or is there an easier way?

If I've understood you correctly, this is pretty simple - just use a record rule to update the value of the appropriate connection field to the logged in user:

![](upload://vcuPRrU2suY08dpCbr8ADWTdIWR.png)

Hope this helps!