473,394 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Adobe LiveCycle Designer ES

14
I a working in Adobe LiveCycle Designer ES, and I am quite new to it. I have a couple of questions that I want to ask.

If somebody know of a good source or a good source of coded examples, then that would be just as greatle appreciated.

1) Is it possible to dynamically create a Captcha image when the PDF is loaded? And how can you compare the word typed into an textbox with the word in the image? (The word will be stored in a variable)
2) Can you create global variables?
3) Can you use and call external JavaScripts to run “inside” the PDF?
4) Can you access (just for now) an MS Access database using javascript to verify a password, and then submit a hashed password of that password and update the database using the new password?

Any help would be greatly appreciated.

Thanks a lot
:)
Jun 26 '09 #1
1 4229
Rossouw
14
Ok, I figured out my questions, but now I have some more.

1)
I got some code of the net for connecting to a database using a dsn. My dsn I created is call testDB, as I first want to test stuff before I use it, and my coneection is called DataConnection. Ths connection just contains a sql statement that selects two entities in the database, and in the code, I am creating a new sql statement that will select the same two entities, but this time determining what to select on the conditions provided. The code I got is shown below, and the errors I got is below that :

Expand|Select|Wrap|Line Numbers
  1. var sCategoryName = xfa.resolveNode("form1.#subform[0].txtNameSurname").rawValue
  2. xfa.sourceSet.DataConnection.#command.query.commandType = "text"
  3. xfa.sourceSet.DataConnection.#command.query.select = concat("SELECT T_PIC, T_WORD FROM test WHERE T_USERN = ", sCategoryName, ";")
  4. xfa.sourceSet.DataConnection.open()
  5. xfa.sourceSet.DataConnection.first()
  6.  
The errors I get is on line 2 and line 3, saying, respectively, during runtime when the code is being executed :

Error : accessor
'xfa.sourceSet.DataConnection.#command.query.comma ndType' is unknown

Error : accessor
'xfa.sourceSet.DataConnection.#command.query.selec t' is unknown.

What is the problem here?

2)
By using a DataBaseConnection, every single entry in the database is shown in the XML file that is being emailed to the specified recipient. How can I stop this from happening without writing an external application to remove this content and the sending this XML file to the specified recipient?

If this can't be done, what other solution can I use to solve this query?

Thanx a lot
Jul 6 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: JohnC | last post by:
I have this exact same scenario. It is new and seems to be related to when we installed Adobe 7.0 Standard/Professional. We have an MDB on a LAN file server. Using Access 2K and Windows 2K. ...
2
by: Diffident | last post by:
Hello All, Our development environment is Visual C#.NET and we develop applications based on client/server model. We have installed Adobe's SDK, Acrobat Professional 7.0 and Adobe Designer 7.0 ...
3
by: Legi | last post by:
Well I have very very simple problem. I have three NumericFields prepeared id Adobe Designer. I would like to add values from thirs two fields and show sum in the third one. So I'm choosing...
0
by: s.danyal.k | last post by:
Hi All, I have made an application that loads an Adobe Acrobat file and shows it. For this I ve used Adobe ActiveX Control available in C#. Heres a sample code. I am adding the control...
0
by: Hank | last post by:
We have been printing pdf files through Adobe, from Access for several years. Adobe version 5.0 is currently installed. Recently we have received PDF files that were created under the Adobe 7.0...
4
Tovah137
by: Tovah137 | last post by:
I am trying to create a program of sorts in Adobe Livecycle 8.0, I want to make a message box pop up when you click on certain things asking "have you checked for ____", I want to be able to click...
10
by: Jules Winfield | last post by:
Guys, I've been designing applications for the financial services industry using MSFT technologies for many years (Win32 API, MFC, and now .NET WinForms). All applications are Internet-based,...
3
by: GavReynolds | last post by:
Hi All I'm a bit lost......Was just wandering where i could post a question regarding a piece of code im using in Adobe LiveCycle Designer? Any help would be much Appreciated! Cheers Gav
2
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a server 2008 IIS 7.0 with indexing service installed. I have created the catalog and have a test page using these posts:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.