[iText-questions] Alert Message problem on Connection failed to server

2009-01-06 Thread rajeshkarka
Hi All, I am trying to submit FDF form to Server. If network connection is success everything is working fine.But I need to display an alert message in case of network failed or server down. I am submitting form using this.submitform(url); It popup a message to 'Allow' or 'B

[iText-questions] what is difference between string.slice() and string.substring()

2008-12-25 Thread rajeshkarka
Hi All, what is difference between string.slice() and string.substring(). For both functions we can pass the start index and end index as parameters. And I searched in Acrobat javascript reference. I found substirng but not fond anything about slice(). And also what is parseInt()

[iText-questions] Is flash client use slice object in backgroud ?

2008-12-24 Thread rajeshkarka
Hi All, I am working on flashplayer in PDF. I use hex.slice(t, t+2) for my internal purpose. When I open flash player and get response from flash. I am not able to use this method. I am getting all values ",". And my internal process is not working in Reader9. Any of you know this is

[iText-questions] Issue with this.getField("text").value

2008-12-04 Thread rajeshkarka
Hi, I am getting value from text field using this.getField("text").value. when I enter number 0123456 etc.Its trimming 0 in that field.Is there any other way get with 0. thanks in advance. regards, Rajesh Karka -- View this message in context: http://www.nabble.com/Issue-with-thi

Re: [iText-questions] How to pass field value from main pdf to attchemnt.

2008-11-24 Thread rajeshkarka
ods in that call are throwing? > > Are you using Acrobat or Reader? What version? > > Where is this script being run from? A button? Menu? Other? > > Leonard > > On Nov 24, 2008, at 2:47 PM, rajeshkarka wrote: > >> >> Hi All, >> >>

[iText-questions] How to pass field value from main pdf to attchemnt.

2008-11-24 Thread rajeshkarka
Hi All, I am working on PDF attachments.I need to pass a parameter from Main PDF to attachemnt pdf. I tried like this. var oDoc = this.openDataObject(\"estatement\"); var id = this.getField(\"id\").value; app.alert(

[iText-questions] submitForm not working from the attachment pdf in Reader9

2008-11-04 Thread rajeshkarka
Hi All, I ve pdf that contain attachement pdf.I am trying to request to the server using this.submitForm(url); in attachemnt pdf. While requesting to the server showing "Send Error" in Reader9. As I understand that there is something relation between main pdf and attachemnt

[iText-questions] How to read IP Address using Itext javascript

2008-10-31 Thread rajeshkarka
Hi All, I am trying to read IP address from users mechine when user open the pdf. I searched in javascript reference guide. But I didn't find anything. Can any one please help me. Thanks in advance. Rajesh Karka. -- View this message in context: http://www.nabble.com/How-to-read-I

[iText-questions] this.submitForm is not working when dialog box loaded

2008-10-15 Thread rajeshkarka
Hi, I am trying to open a dilog box and entered some text in that dialog box. After clicking on OK button I am able to catch value. But I also need to send the value to the server. when we click on OK button I am captuing the value in commit function and trying to submit the value us

[iText-questions] open file attachment from pdf using javascript.

2008-07-30 Thread rajeshkarka
Hi, I have created one PDF using itext and inserted another pdf file as an attachment. On click of submit button i am calling javascript to open inserted PDF attachment. I am able to find the attachment name when i use Annnotations but I m not able to open it. If I use simple writer.addfileA