Hi Aandi,
I tried this but it still returns the same fdf without any information that I filled out in the form.
The other thing is that when I simply try "export form data" in the pdf form,the fdf file it generates contains the information I entered in the form.
So looks like it is definitely some problem with the code.
Here is the whole code.I hope it doesn't gets formated..
First of all I'm trying to Retrieve the user response by
FirstName = Request.form("txtFirstName")
LastName = Request.form("txt.LastName")
Then I'm creating the instance of the object
Set FdfAcX = Server.CreateObject("FdfApp.FdfApp")
Then I'm feeding the variables by
Dim myFDF
Set myFdf = FdfAcX.FDFCreate
Then I stuff the variables,
myFdf.fdfsetvalue "FirstName", TestFirstName, false
myFdf.fdfsetvalue "LastName", LastName, false
myFdf.fdfsetvalue "Address", Address, false
myFdf.fdfsetvalue "City", City, false
myFdf.fdfsetvalue "State", State, false
myFdf.fdfsetvalue "Zip", Zip, false
Then I'm pointing to my pdf file,
myFDF.fdfSetFile "http://orsp.rutgers.edu/pdf_project/form1.pdf"
Response.ContentType = "text/html"
myFDF.fdfSaveToFile "C:\formData\CheckThis.fdf"
Finally I'm closing the objects...
myFDF.fdfclose
Set myFDF = Nothing
Set FDFAcX = Nothing
Can u see any problem in the code...,maybe I missing something important.
Thanks again,
Puja