How do I set the default value to the user's name?

B

Bob

I have a text field and I want to set it to the name of the logged in user.

For example, if the username logged is "smithb", and his full name in AD is
"Bob Smith", then I want to display "Bob Smith". Or if that's not possible,
then just display "smithb".
 
D

daw

Easiest way that I know of is to go to the properties of the text field, go
to the Default Value, click on the fx, click on Insert function and select
userName.
 
B

Bob

The function "username" does not appear in the list. My version of Infopath
is 2003, do I need a newer version?

- Bob
 
D

daw

Oops, I didn't think about the version. I'm using 2007 and haven't used any
other version. I'm not sure in 2003.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top