Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to retrieve a data from a "table"? (Javascript)

6 views
Skip to first unread message

nub nab

unread,
Feb 17, 2012, 6:19:44 PM2/17/12
to
Hi,

(Adobe Acrobat)

I am trying to write a code to retriece a data from a table (in a
form)
here are the pictures of the form:

http://img11.hostingpics.net/pics/597849datefinishedquestion.jpg

http://img11.hostingpics.net/pics/398442datefinishedformediting.jpg



here is the code (which doesn't work) (screen capture):

http://img11.hostingpics.net/pics/354926scriptpicture.jpg

"Texte74","Texte76","Texte78","Texte80"
,"Texte82" are missing from the capture


At present I wrote a code which matches the number of lines to the
poem selected
Eg. if I select the poem V.Hugo, the number "36" will appear next to
Number of lines.

I would like a code which detects this number “36” on the "From .. to
…" column,
as soon it is detected, check from the same line if "A / Pass" or "B /
Pass" have been selected from the combo box
if yes, the short date inputted on this line will be given to the
field "d2" (next to: Date finished)

More generally, I would like to automate the field next to" Date
finished:" named "d2" with a code that retrieve the short date from
the day in which the student has finished his memorisation with "A /
Pass" or "B / Pass"


Also in the code I didn't know how to add this condition of getting A
or B for the Grade.

Can someone help me to find a solution?

thank you


(this file: initially created with .doc then converted in .pdf then I
added all the necessary fields for the form, so there is no table in
it)

BAlheit

unread,
Feb 18, 2012, 10:40:09 AM2/18/12
to
>
> here is the code (which doesn't work) (screen capture):
>
> http://img11.hostingpics.net/pics/354926scriptpicture.jpg
>

At beginning of function Datefinished you use bFields[i] without
assigning a value to i.
0 new messages