Solved

Adobe and Javascript

Posted on 2009-07-14
2
314 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Powershell GUI 11 58
New-MoveRequest Exchange 2010 Powershell 1 36
DataTable column sorting incorrectly 2 17
powershell automatic variable for results 21 18
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

740 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