achtal wrote: > Merging Process: > The pdf will be merged with datas from an database
The form will be prefilled with database data. > an form the url, How can a form be filled from an URL? I don't understand. > which > will be presented in the form, this the first fill action. Let's assume the form is prefilled. Period. > In this process > we prodcue an Textfield in the PDF under use of PDFStamper. Correction: the form is prefilled and an extra field is added. > Now the user is filling in its own values. This altered form is presented online to the user. > After this he sends the form again The user submits the form as an FDF file. > Now we have only a fdf-File an in this we will miss the value. What value? Are we talking about the extra field you're adding? > THis is the code we are producing the textfield: > TextField fSonst = new TextField(stamp.getWriter(), > new Rectangle(1, 1, 100, 10), > "ofs_Sonst_Daten"); > fSonst.setText(sonst_Daten); > fSonst.setOptions(TextField.REQUIRED | > TextField.READ_ONLY); > fSonst.setTextColor(new Color(255,255,255)); > stamp.addAnnotation(fSonst.getTextField(), 1); > After sending the form we will take the value with the FdfReader. > http://www.nabble.com/file/p18486876/beforesending.fdf beforesending.fdf > http://www.nabble.com/file/p18486876/aftersending.fdf aftersending.fdf No idea what you mean with beforesending and aftersending, but when I search the first fdf for "ofs_Sonst_Daten", I find: <</V (22222222-2222-0039;)/T (ofs_Sonst_Daten)>> when I search the second one, I find: <</T(FS_required)/V(ofs_Sonst_Daten)>> I think that's odd, but... it's not necessarily wrong. Without the corresponding PDF file I still can't help you. I see plenty of stuff in 'beforesending' that is weird; but... I have no idea what your intention is with these files. You also must realize that FDF files posted to the server ARE NOT GENERATED BY iText. They are created by Adobe Reader. I made some changes in iText 2.1.3 regarding XFA forms that were stamped in append mode, but as you're talking about FDF, I don't see why this should affect your application. > Are the support contracts now available? If you give me a number or a contact address, 'll have somebody call forms-solutions.de. Note that it will remain very frustrating to help you as long as you expect me to be able to read your mind. -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
