New Forum | Previous | Next | (P-PDF) Developers
Topic: Assigning values to listbox field during run time
Conf: (P-PDF) Developers, Msg: 34637
Date: 2/12/2002 02:13 PM
I have PDF form. In which I have on field of type list box. For which I gave the name lbNo. Further, enabled its 'Multi Selection' property also.
My problem is as how to set values to this list box field in run time.
I have written a servlet which opens the PDF form. In brief I have used the following code.
FDFDoc oFDF = new FDFDoc();
String strArrayOfNos  = new String;
strArrayOfNos = "Rajesh";
strArrayOfNos = "Mahesh";
strArrayOfNos = "Suresh";
OutputStream out = res.getOutputStream();
File is getting opened sussfully but it is not setting values to list box field. Not giving any error message also.
Please help me if you have any solution.
Anticipating your quicket reply.