Hello i have a browser enabled infopath 2007 form loaded on my Moss 2007 server. I am trying to pass a parameter to the form so when a user opens the form a field is automatically populated from the URL.
I used VB code "Public Sub FormEvents_Loading(ByVal sender As Object, ByVal e As LoadingEventArgs)
Dim doctitleValue As String = e.InputParameters("doctitle")
End Sub"
And my URL uses the parameter: "doctitle"
http://sharepoint/Site/_layouts/FormServer.aspx?XsnLocation=http://sharepoint/FormServerTemplates/MyForm3.xsn&OpenIn=browser&SaveLocation=http://sharepoint/Site/Forms&Source=http://sharepoint/Site/Forms/Forms/AllItems.aspx&doctitle=Myname
But when I open the form, there is nothing in the field. Any idea's one what could be causing this to remain blank?