Solved

Adobe and Javascript

Posted on 2009-07-14
2
311 Views
Last Modified: 2012-05-07
I have attached code and what I want to do is to encryped all of the data.

like en_data=encryed(bondamount.....exedate)
and then redirect with querystring like
redirect hello.asp?id=" & en_data

When the data is landed on hello.asp
I willl use asp code to decryped request.qurystring("id")

Is  that possibe to do in adobe professional 9?
var typeofbond  = this.getField("typeofbond");

var bondamount  = this.getField("bondamount");

var exedate 	= this.getField("exedate");

var term    	= this.getField("term");

var priname 	= this.getField("priname");

var phone 	= this.getField("phone");

var pfax 	= this.getField("pfax");

var pstreet 	= this.getField("pstreet");

var pcity 	= this.getField("pcity");

var pstate	= this.getField("pstate");

var pzip 	= this.getField("pzip");
 

 

this.submitForm("https://suretyappdev/eservices/testpdf.asp?typeofbond=" + typeofbond.value + "&bondamount=" + bondamount.value + "&priname=" + priname.value + "&pstreet=" + pstreet.value + "&pcity=" + pcity.value + "&pstate=" + pstate.value + "&pzip=" + pzip.value + "&phone=" + phone.value + "&pfax=" + pfax.value);

Open in new window

0
Comment
Question by:Webboy2008
2 Comments
 
LVL 15

Accepted Solution

by:
mohan_sekar earned 500 total points
ID: 24858409
There is no ready-made encryption utility available in Adobe javascript. You can write a custom routine in javascript, if that's what you are looking for.

Another option is to submit the FDF and read it using iText (free PDF library). For more information on iText, visit http://www.lowagie.com/iText/
0
 

Author Comment

by:Webboy2008
ID: 24910789
mohan_sekar: yes. that is what i am looking for. any sample?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever come up with a need of emailing only few pages of PDF file to one of yourfriend or colleague, instead of whole Adobe file? If yes, then surely you have face problems in doing that! Read this section as I have suggested multiple solutio…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now