@NameLookup not working on web form

I have a form used on the web with a dialog list that pulls in names from names.nsf. Once a name is picked I want other fields on the form to display information on the user that was picked, like location and office name. So, for those fields I use @NameLookup( [NoUpdate] ; user2; “Location”), with user2 containing the name that was selected from the dialog list box. This is not working. The dialog list box works fine and I am able to select a name. The fields containing the @NameLookup are not working. Any ideas on how to achieve this?