Re: [iText-questions] how to hide button in pdfform

2007-12-06 Thread Leonard Rosenthol
Yes, all documentation is on Adobe's website. Try the PDF Development center at Leonard On Dec 6, 2007, at 9:30 AM, Xu ying chu wrote: where can i get the api documents, in adobe website or somewhere ? can you give me a address? thanks in advanced On Dec

Re: [iText-questions] how to hide button in pdfform

2007-12-06 Thread Xu ying chu
where can i get the api documents, in adobe website or somewhere ? can you give me a address? thanks in advanced On Dec 6, 2007 7:55 PM, Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > That JavaScript is for classic AcroForms - it doesn't work with LiveCycle > forms. You need to be using LiveCycl

Re: [iText-questions] how to hide button in pdfform

2007-12-06 Thread Leonard Rosenthol
That JavaScript is for classic AcroForms - it doesn't work with LiveCycle forms. You need to be using LiveCycle JavaScript APIs... Leonard On Dec 6, 2007, at 3:12 AM, Xu ying chu wrote: I have writen javascirpt, but the script maybe not work. this.getField("Button1").display=1; when

Re: [iText-questions] how to hide button in pdfform

2007-12-06 Thread Xu ying chu
I have writen javascirpt, but the script maybe not work. this.getField("Button1").display=1; when I preview pdf, the button not be hidden. whether the js is not right? and I download a example pdf for show/hide field, I think the js should be right. And I develope with lifecycle 8. On 12/5

Re: [iText-questions] how to hide button in pdfform

2007-12-05 Thread Scott Dunbar
I would say that this is because Adobe Reader renders the form from the PDF and LiveCycle renders from the XDP template section. I have always treated the XDP template section as read-only. I don't think this is the way to do what you want. Is there some JavaScript that would work to do what

[iText-questions] how to hide button in pdfform

2007-12-05 Thread Xu ying chu
Hi , I want to hidden a button in the pdf form, I get DomDocuement by XfaForm getDomDocument(), and I traversal the docuement, get the button field and add "presence" attribute, but the button not be hidden. source: PdfReader reader = new PdfReader("c:\\pdfform.pdf"); FileOutputStream out = n