Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2007

Tip: Looking for answers? Try searching our database.

Add script to form to get user

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Meenu - 21 Jun 2007 18:50 GMT
I need to know teh id or the name of the user who submitted the published
infopath form.
DO I need to add some script or control. I'm new to Infopath and am using
Infopath 2003. Also I have this form published on a web server and
invoking/initiating it through Outlook.
Fernando - 22 Jun 2007 09:08 GMT
I'm not extremely savy with code etc... If this sounds like you then I would
suggest upgrading to Infopath 2007. it is extremely easy with 2007 and no
code is required. there are posts out there but none of them seemed to work
for me on 2003.

Not a solution but just a little advise.

> I need to know teh id or the name of the user who submitted the published
> infopath form.
> DO I need to add some script or control. I'm new to Infopath and am using
> Infopath 2003. Also I have this form published on a web server and
> invoking/initiating it through Outlook.
JeFF - 04 Jul 2007 16:14 GMT
just use the username() function in the submit action

>I need to know teh id or the name of the user who submitted the published
> infopath form.
> DO I need to add some script or control. I'm new to Infopath and am using
> Infopath 2003. Also I have this form published on a web server and
> invoking/initiating it through Outlook.
Kalyan G Reddy (http://www.ggktech.com) - 05 Jul 2007 10:10 GMT
Hello

If you are using .net code then you can use
"System.Environment.UserName;" in the onload method to get username.
Other wise you can use ADservice
webservicehttp://www.infopathdev.com/webstore/detail.aspx?itemid=18] to get
username from the adservice.

Signature

Kalyan G Reddy - INFOPATH MVP 2007
http://www.ggktech.com

> I need to know teh id or the name of the user who submitted the published
> infopath form.
> DO I need to add some script or control. I'm new to Infopath and am using
> Infopath 2003. Also I have this form published on a web server and
> invoking/initiating it through Outlook.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.