Create a little Java function in a .jsp file and put it in your "shared" folder on your Midtier:
Name the file something like /arsys/shared/get_remote_user.jsp. get_remote_user.jsp contains: function env_ip_var() { var return_value = "<%=request.getRemoteUser()%>"; return (return_value) } In the Web Header content of the form you want to capture this on, add... <SCRIPT src="/arsys/shared/get_remote_user.jsp" language="JavaScript"></SCRIPT> To set a field with the data from the JavaScript functions do the following in an active link... Run Process Command Line: javascript:window.F(XXXXXXXX).DoSet(env_hostname()); Be sure to change XXXXXXXX with the field ID of the field you want to set. _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"