Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

Fill value in pdf combobox

Last post 08-16-2007, 8:45 PM by lukeyoyo. 9 replies.
Sort Posts: Previous Next
  •  05-05-2006, 7:16 AM 47495

    Fill value in pdf combobox

    Attachment: Present (inaccessible)

    Hi I'm trying to set a value in a pdf form using Aspose.Pdf.Kit everything works fine exept when I try to set a value for a combo box.

    According to the description at: http://www.aspose.com/Wiki/default.aspx/Aspose.Pdf.Kit/SimpleExample.html this should be just as stright forward as for the text fields.

    Here is the code I user to set the value

    Form form = new Form("test.pdf","test2.pdf");
    form.FillField("kode","A2");
    form.Save();

    ----------------------      End of code --------------------------------

    I have also upploadet the template I use for test.

    Kindly Regard EAK

     
  •  05-05-2006, 8:30 AM 47515 in reply to 47495

    Re: Fill value in pdf combobox

    Thanks for considering Aspose.

    I've tested your pdf & codes, the value of "kode" is set to be A2 correctly. You can find the result value ''A2'' is blue background in combo box.

    I use Aspose.Pdf.Kit v 2.0.0.0, the latest release.


    Kevin Zuo
    Content Supporter
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  05-08-2006, 4:52 AM 47617 in reply to 47515

    Re: Fill value in pdf combobox

    Thank you for fast response

    I manage to get the result you describe when testing with acrobat writer, but when testing with acrobat reader I get nothing.

    What I really need is for this to work when i open the document with acrobat reader. Can you help me on this one?..

     
  •  05-08-2006, 5:24 AM 47623 in reply to 47617

    Re: Fill value in pdf combobox

    Attachment: Present (inaccessible)

    Thanks for considering Aspose.

    I read the result pdf document with Adobe Reader 6.0. Please see the attachment, the value of "kode" is set to be A2 correctly. You can find the result value ''A2'' is blue background in combo box.


    Kevin Zuo
    Content Supporter
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  05-08-2006, 6:59 AM 47638 in reply to 47623

    Re: Fill value in pdf combobox

    I'm using Adobe Reader 7.0 and the change is not visible when I test your attachment.

     

     
  •  05-08-2006, 7:18 AM 47640 in reply to 47638

    Re: Fill value in pdf combobox

    Attachment: Present (inaccessible)
    I used Adobe Reader 7.0 and Adobe Reader 6.0 to read the result pdf, both do get the above outcome. Please take a look at the screenshot of the third page of table "3 Ulykke - opplysninger ved arbeidsulykke", the result value ''A2'' is blue background in combo box.
    Kevin Zuo
    Content Supporter
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  05-09-2006, 2:01 AM 47707 in reply to 47640

    Re: Fill value in pdf combobox

    It should not be blue background and white text after inserting text

    into combo boxes with Aspose. On some machines this text are not visible.

    Background color should be white and text should be black.

    When using xfdf file the text are inserted correct, but we can't use xfdf in this project.

    Jørgen

     
  •  05-09-2006, 5:41 AM 47714 in reply to 47707

    Re: Fill value in pdf combobox

    Dear Jorgen,

    Thanks for considering Aspose.Kit!

    We have found the reason why Tested.pdf seems right on our platform but wrong on yours. It is all because of the update of Adobe Reader. We tested a lot and found that Tested.pdf works well in Adobe Reader 6.0.0 and above, also in Reader 7.0.0. However, when it is opened in Reader 7.0.7, the latest version, the problem you described comes out. So we are sure that the problem is due to the update of Reader from 7.0.0 to 7.0.7.

    Please check the version of your Reader to verify our judgement. If so, please change Adobe Reader back to older version such as 7.0.0 to avoid the problem. In addition, support for this update is carrying on, but not sure how soon it would work.

    Sorry again for the inconvenience bringing to you and any more question is welcomed. Best regards.


    Luke Fu
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-15-2007, 3:51 PM 90853 in reply to 47714

    Re: Fill value in pdf combobox

    I have started to evaluate Aspose.Pdf.Kit and have run into the same problem with combo boxes. It seems that the demo code works but not completely. The document is updated and when I open the new document Acrobat 6.0 the data is in the dropdown. It is white text on a blue background. However, when I click or tab into the field the value disappears. This does not happen with the filled in textboxes.  In Acrobat 8.1, the document fields appear blank. I do not think this is a problem with the versions of Acrobat. I think this is a problem with how the data is saved in the document. Any help is appreciated.
     
  •  08-16-2007, 8:45 PM 91092 in reply to 47495

    Re: Fill value in pdf combobox

    Dear jorgen,

    We have found the reason of this problem. It  lies on the interpretting syntax for Combo Box within different Adobe Reader versions, as we estimated before. This will be solved in about two or three days and the newest release will contain the hotfix.

    Best regards.


    Luke Fu
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
View as RSS news feed in XML