473,700 Members | 2,608 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[LAME] Adobe form JS

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 NumericField3 -> From event list I'm choosing calculate.
I'm adding code.
NumericField3.v alue = NumericField2.v alue + NumericField1.v alue;

and... nothing happens.
but if I enter a code
NumericField3.v alue="2" it works showing digit "2"

What am I doing wrong here?

Thanks for any help
Jan 18 '06 #1
3 1566
Legi@fan said the following on 1/18/2006 9:18 AM:
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 NumericField3 -> From event list I'm choosing calculate.
I'm adding code.
NumericField3.v alue = NumericField2.v alue + NumericField1.v alue;

and... nothing happens.
but if I enter a code
NumericField3.v alue="2" it works showing digit "2"

What am I doing wrong here?


You are asking for help with Adobe Designer in a Javascript Newsgroup.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jan 18 '06 #2

Uzytkownik "Randy Webb"wrote:
What am I doing wrong here?


You are asking for help with Adobe Designer in a Javascript Newsgroup.


Well you're right.
But show me better group
on adobre.scriptin g noone anserwers.

and big part of my problem is JavaScript.

--
pozdrawiam serdecznie
Lukasz K.
Jan 19 '06 #3
Legi@fan said the following on 1/19/2006 7:32 AM:
Uzytkownik "Randy Webb"wrote:
What am I doing wrong here?

You are asking for help with Adobe Designer in a Javascript Newsgroup.


Well you're right.
But show me better group
on adobre.scriptin g noone anserwers.

and big part of my problem is JavaScript.


I totally understand. And maybe you can get lucky and someone here have
some experience trying to script Adobe. My reply was based on memory of
a thread not long ago where Adobe was being scripted and nobody
could/would answer.

What you could try is putting some alerts (if AD Supports them) that
could serve as break points:

alert(NumericFi eld1.value)
alert(NumericFi eld2.value)
alert(NumericFi eld1.value + NumericField2.v alue)

And see if AD will give the alerts.

NumericField3.v alue = NumericField2.v alue + NumericField1.v alue;

I have never used AD so its just a guess.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jan 19 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1934
by: Sarah Akers | last post by:
GgF ----gL5cJ72EqiGIQ0SK65Rz Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <html> <head> <style type=3D"text/css">.eyebrow { FONT-WEIGHT: bold; FONT-SIZE: 10px; TE=
2
1651
by: Tim Stevens | last post by:
Hello, This is the first time I have had to resort to posting on here, as Ive always been able to find a solution to my problems in the past by browsing postings by others. So, to start with I thank you all for so much help in the past ... To my current problem... Ive a fairly sizable application, front end local and back end networked both on access 97. All running on NT4 worstation front ends, think the back end servers are 2000, but...
6
5267
by: jdph40 | last post by:
We recently had to upgrade the computers in our company. Now our office's website on our company intranet no longer recognizes reports saved in snapshot format. We get an error message that the file we are downloading "cannot be opened by the default program. It is either corrupted or it has an incorrect file type." We had no problem until our upgrade, but our IT department says there's no fix. My question is concerning Adobe Acrobat....
2
2499
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 Some of our requirements are 1) To create PDF templates, pre-fill them with data and send them across client browsers
3
6591
by: moroni | last post by:
No problem 2 set Access up to get address data from tblClients then to use a form as a letterhead and to keyboard in the letter content then save the letter to a tblCorrespondence Get a scanner. Scan in your letters received to pdf format.Now insert in a form Adobe Acrobat Control For ActiveX (the pdf.ocx). Set the src property of the ActiveX control to the path of the pdf file you want to view. No problem it all works fine. Now try to...
3
8225
by: frenchy | last post by:
I am getting this error in Adobe after struggling with a 'submit' button on an acrobat form that is in production and all the other appdev people in the office are NOT having a problem with. It submits the form to the web successfully for them, for me the button just clicks and does nothing. So we turned on my javascript debug in Adobe and are getting this? Acrobat EScript Built-in Functions Version 6.0 Acrobat Annotations /...
6
2377
by: Stinky Pete | last post by:
HI, I've been trolling through the archives of this list in order to better understand how to get Access to open Adobe Acrobat and a specific pdf file. Having never done this before, I've got a tad confused and am not sure if this code is for A97 or will work with A02. Anyway, I'm trying to use this code for a command button to open up a specific pdf file on our intranet. It keeps on getting hung on the Shell line. Another time it...
1
1834
by: Stinky Pete | last post by:
Hi, With thanx to the group and suggestions to review other news sites, I've got some code that allows me to open Adobe from Access. As I am new at this, I still need some help though. The code to get Abobe to open is working really well, however the referenced file I need is not being opened. I've tried the path that I've got in the text box via the cmd prompt and copying the path in Windows Exp and the path does work. Any...
11
2065
by: saintor1 | last post by:
I can't believe how much time I spent on this. I finally found the cause and it was Adobe 7.0 Professional. What happened was that a database could be opened once, but the subsequent users got a message that it was already opened in exclusive mode. First I fighted with all kind of permissions - no result. At the end of my research, I found that my CUSTOM menu bar was
0
8729
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8648
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9217
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9078
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7815
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6563
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5903
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4660
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2393
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.