Discussion:
new problem - where's the js coming from?
(too old to reply)
unknown
2006-10-10 20:40:41 UTC
Permalink
the last problem is solved, however a new one has emerged. where is the
javascript coming from? all of the settings are set to no javascript.
when i open the document now a window opens and shows the following
information:

Acrobat Database Connectivity Built-in Functions Version 5.0
Acrobat EScript Built-in Functions Version 5.0
Acrobat Annotations / Collaboration Built-in Functions Version 5.0

SyntaxError: missing ) after argument list

i don't understand. if i close the window and type in a "plain" text
area, no problem. when i try to type in the "date" field the window
pops up again and lists a syntax error. i don't know how to get to the
javascript to fix the problem.

i have set the javascript editor to notepad, but it doesn't open and i
don't know how to open it to the javascript in question.

would someone please help me through this?

dwain
unknown
2006-10-10 21:14:37 UTC
Permalink
Post by unknown
the last problem is solved, however a new one has emerged. where is the
javascript coming from? all of the settings are set to no javascript.
when i open the document now a window opens and shows the following
Dwain, I'm heavily overnewsed and underinformed:)

What document? A PDF form? How did you create this PDF form, by using
Scribus's own PDF export (right) or using a PDF Distiller as a printer
(wrong)?
Post by unknown
Acrobat Database Connectivity Built-in Functions Version 5.0
Acrobat EScript Built-in Functions Version 5.0
Acrobat Annotations / Collaboration Built-in Functions Version 5.0
SyntaxError: missing ) after argument list
As stated above: which program produces this error?
Post by unknown
i don't understand. if i close the window and type in a "plain" text
area, no problem. when i try to type in the "date" field the window
pops up again and lists a syntax error.
Which program? What have you been trying to achieve with this program?

i don't know how to get to the
Post by unknown
javascript to fix the problem.
You don't have to bother about javascript at this stage, I suppose. Have
you read the PDF form tutorial? Please describe in short the steps
you've done so far, the clearer the better.

M.



___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
unknown
2006-10-10 22:09:13 UTC
Permalink
Post by unknown
Post by unknown
the last problem is solved, however a new one has emerged. where is the
javascript coming from? all of the settings are set to no javascript.
when i open the document now a window opens and shows the following
Dwain, I'm heavily overnewsed and underinformed:)
What document? A PDF form? How did you create this PDF form, by using
Scribus's own PDF export (right) or using a PDF Distiller as a printer
(wrong)?
Post by unknown
Acrobat Database Connectivity Built-in Functions Version 5.0
Acrobat EScript Built-in Functions Version 5.0
Acrobat Annotations / Collaboration Built-in Functions Version 5.0
SyntaxError: missing ) after argument list
As stated above: which program produces this error?
Post by unknown
i don't understand. if i close the window and type in a "plain" text
area, no problem. when i try to type in the "date" field the window
pops up again and lists a syntax error.
Which program? What have you been trying to achieve with this program?
i don't know how to get to the
Post by unknown
javascript to fix the problem.
You don't have to bother about javascript at this stage, I suppose. Have
you read the PDF form tutorial? Please describe in short the steps
you've done so far, the clearer the better.
M.
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
_______________________________________________
Scribus mailing list
Scribus at nashi.altmuehlnet.de
http://nashi.altmuehlnet.de/mailman/listinfo/scribus
my operating system is windows 2000. scribus development version
1.3.3.4. the pdf forms were created using the scribus pdf tab. all
javascript settings were off in each field.

according to the tutorial, in screen/web mode the program generates
javascript unless i'm reading it wrong.

http://wiki.scribus.net/index.php/Your_first_PDF_form_with_Scribus

"One of the biggest advantages of Scribus is the possibility to create
PDF forms with embedded JavaScript scripts."

the problem i was having was with the js in the "date" function. when i
set the field to "plain" the problem vanished.

evidently, the js compiled by scribus has a bug that does not produce
correct js. that's my guess based on what the tutorial says and the
actions that i have taken to correct the problem and the cues given by
acrobat 5.

this is a great program! i know the kinks will be worked out for the
stable release. i don't know how many windows users there are, but i am
going to stick with the developers and this great piece of software.
i'm hooked now! i have much blood, sweat and tears, along with the
frustration of wanting to shoot my computer.

it's not all the software or the computer. there is operator ignorance
at work here as well. i really appreciate the feedback that i have
received from this list. i hope those who are developing scribus will
look at the js a little closer now. not a criticism at all. i know
that no piece of software is 100%.

again thanks for the help, and if i run into anything else, i'll holler.

regards,
dwain
unknown
2006-10-10 22:07:28 UTC
Permalink
Post by unknown
Post by unknown
Post by unknown
the last problem is solved, however a new one has emerged. where is the
javascript coming from? all of the settings are set to no javascript.
when i open the document now a window opens and shows the following
Dwain, I'm heavily overnewsed and underinformed:)
What document? A PDF form? How did you create this PDF form, by using
Scribus's own PDF export (right) or using a PDF Distiller as a printer
(wrong)?
Post by unknown
Acrobat Database Connectivity Built-in Functions Version 5.0
Acrobat EScript Built-in Functions Version 5.0
Acrobat Annotations / Collaboration Built-in Functions Version 5.0
SyntaxError: missing ) after argument list
As stated above: which program produces this error?
Post by unknown
i don't understand. if i close the window and type in a "plain" text
area, no problem. when i try to type in the "date" field the window
pops up again and lists a syntax error.
Which program? What have you been trying to achieve with this program?
i don't know how to get to the
Post by unknown
javascript to fix the problem.
You don't have to bother about javascript at this stage, I suppose. Have
you read the PDF form tutorial? Please describe in short the steps
you've done so far, the clearer the better.
M.
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
_______________________________________________
Scribus mailing list
Scribus at nashi.altmuehlnet.de
http://nashi.altmuehlnet.de/mailman/listinfo/scribus
my operating system is windows 2000. scribus development version
1.3.3.4. the pdf forms were created using the scribus pdf tab. all
javascript settings were off in each field.
according to the tutorial, in screen/web mode the program generates
javascript unless i'm reading it wrong.
http://wiki.scribus.net/index.php/Your_first_PDF_form_with_Scribus
"One of the biggest advantages of Scribus is the possibility to create
PDF forms with embedded JavaScript scripts."
the problem i was having was with the js in the "date" function. when i
set the field to "plain" the problem vanished.
evidently, the js compiled by scribus has a bug that does not produce
correct js. that's my guess based on what the tutorial says and the
actions that i have taken to correct the problem and the cues given by
acrobat 5.
this is a great program! i know the kinks will be worked out for the
stable release. i don't know how many windows users there are, but i am
going to stick with the developers and this great piece of software.
i'm hooked now! i have much blood, sweat and tears, along with the
frustration of wanting to shoot my computer.
it's not all the software or the computer. there is operator ignorance
at work here as well. i really appreciate the feedback that i have
received from this list. i hope those who are developing scribus will
look at the js a little closer now. not a criticism at all. i know
that no piece of software is 100%.
again thanks for the help, and if i run into anything else, i'll holler.
Hi Dwain,

Thanks for your feedback. I haven't followed this closely, but we will have a
look at the JS code and see if all is ok. Its likely that some versions of JS
are now required or no longer accepted or similar in Adobe Reader and what
Scribus is producing is a little old. The JS side of things has not changed
in quite awhile.

It would be a great help if you created a bug on bugs.scribus.net and uploaded
the SLA file and sample PDF with "broken" JS for us to test, so if you don't
mind, please do so when you get a chance. An example makes a big difference
when debugging.

Thanks for your help!
Regards
Craig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20061011/f9c117b8/attachment.pgp
unknown
2006-10-10 22:59:04 UTC
Permalink
Post by unknown
Post by unknown
Post by unknown
Post by unknown
the last problem is solved, however a new one has emerged. where is the
javascript coming from? all of the settings are set to no javascript.
when i open the document now a window opens and shows the following
Dwain, I'm heavily overnewsed and underinformed:)
What document? A PDF form? How did you create this PDF form, by using
Scribus's own PDF export (right) or using a PDF Distiller as a printer
(wrong)?
Post by unknown
Acrobat Database Connectivity Built-in Functions Version 5.0
Acrobat EScript Built-in Functions Version 5.0
Acrobat Annotations / Collaboration Built-in Functions Version 5.0
SyntaxError: missing ) after argument list
As stated above: which program produces this error?
Post by unknown
i don't understand. if i close the window and type in a "plain" text
area, no problem. when i try to type in the "date" field the window
pops up again and lists a syntax error.
Which program? What have you been trying to achieve with this program?
i don't know how to get to the
Post by unknown
javascript to fix the problem.
You don't have to bother about javascript at this stage, I suppose. Have
you read the PDF form tutorial? Please describe in short the steps
you've done so far, the clearer the better.
M.
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
_______________________________________________
Scribus mailing list
Scribus at nashi.altmuehlnet.de
http://nashi.altmuehlnet.de/mailman/listinfo/scribus
my operating system is windows 2000. scribus development version
1.3.3.4. the pdf forms were created using the scribus pdf tab. all
javascript settings were off in each field.
according to the tutorial, in screen/web mode the program generates
javascript unless i'm reading it wrong.
http://wiki.scribus.net/index.php/Your_first_PDF_form_with_Scribus
"One of the biggest advantages of Scribus is the possibility to create
PDF forms with embedded JavaScript scripts."
the problem i was having was with the js in the "date" function. when i
set the field to "plain" the problem vanished.
evidently, the js compiled by scribus has a bug that does not produce
correct js. that's my guess based on what the tutorial says and the
actions that i have taken to correct the problem and the cues given by
acrobat 5.
this is a great program! i know the kinks will be worked out for the
stable release. i don't know how many windows users there are, but i am
going to stick with the developers and this great piece of software.
i'm hooked now! i have much blood, sweat and tears, along with the
frustration of wanting to shoot my computer.
it's not all the software or the computer. there is operator ignorance
at work here as well. i really appreciate the feedback that i have
received from this list. i hope those who are developing scribus will
look at the js a little closer now. not a criticism at all. i know
that no piece of software is 100%.
again thanks for the help, and if i run into anything else, i'll holler.
Hi Dwain,
Thanks for your feedback. I haven't followed this closely, but we will have a
look at the JS code and see if all is ok. Its likely that some versions of JS
are now required or no longer accepted or similar in Adobe Reader and what
Scribus is producing is a little old. The JS side of things has not changed
in quite awhile.
It would be a great help if you created a bug on bugs.scribus.net and uploaded
the SLA file and sample PDF with "broken" JS for us to test, so if you don't
mind, please do so when you get a chance. An example makes a big difference
when debugging.
Thanks for your help!
Regards
Craig
hi craig,
go figure, i went back to the original file, set the date field format
to "date", produced the pdf from scribus, opened the file and it worked
flawlessly; no, none, nill, nada javascript error popped up.

i had closed both acrobat 5 and scribus, as i had before (i know
computers can get stupid every now and then) when i was having the
issue, read your email, opened both programs again and did the above
operations with the above results.

of course, i deleted the broken pdf files, they were no use to me;
however, i have more forms to produce and if i run into the same issue
i'll file a bug report and forward the files to you.

i feel kinda silly about this, but what can i say. i don't think i was
dreaming.

regards,
dwain
unknown
2006-10-11 08:24:15 UTC
Permalink
Post by unknown
go figure, i went back to the original file, set the date field format
to "date", produced the pdf from scribus, opened the file and it worked
flawlessly; no, none, nill, nada javascript error popped up.
Maybe you overwrote the PDF you had still open in Acrobat Reader? If I
open a PDF in acroread, then export again from Scribus, it often
complains, e.g. "Insufficient data for an image"... You always need to
close/open the PDF again. (Plus disable Page cache - I've had issues
with that, the Reader remembered all of the old document even though I
had reexported to the same file)

Bye,

Tino.
--
www.quantenfeuerwerk.de
www.spiritualdesign-chemnitz.de
www.lebensraum11.de
unknown
2006-10-10 22:15:26 UTC
Permalink
Dwain, I'm glad you've solved your issue
Post by unknown
according to the tutorial, in screen/web mode the program generates
javascript unless i'm reading it wrong.
http://wiki.scribus.net/index.php/Your_first_PDF_form_with_Scribus
"One of the biggest advantages of Scribus is the possibility to create
PDF forms with embedded JavaScript scripts."
Actually, you are reading it wrong. Don't know where from you get the
conclusion that "in screen/web mode the program generates javascript".

"The possibility to create PDF forms with embedded JavaScript scripts"
means that's it possible to _intentionally_ create JavaScript script and
_intentionally_ embed them in PDF form elements such as text fields,
e.g. to validate or calculate their value. That's it. You could also
define a JavaScript script to be executed on opening your PDF form in
Acrobat reader.
Post by unknown
the problem i was having was with the js in the "date" function. when i
set the field to "plain" the problem vanished.
evidently, the js compiled by scribus has a bug that does not produce
correct js. that's my guess based on what the tutorial says and the
actions that i have taken to correct the problem and the cues given by
acrobat 5.
Please submit this issue to the Scribus Bug Tracker http://bugs.scribus.net

have fun:)
Maciej





___________________________________________________________
Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
unknown
2006-10-10 22:57:15 UTC
Permalink
Post by unknown
Dwain, I'm glad you've solved your issue
Post by unknown
according to the tutorial, in screen/web mode the program generates
javascript unless i'm reading it wrong.
http://wiki.scribus.net/index.php/Your_first_PDF_form_with_Scribus
"One of the biggest advantages of Scribus is the possibility to create
PDF forms with embedded JavaScript scripts."
Actually, you are reading it wrong. Don't know where from you get the
conclusion that "in screen/web mode the program generates javascript".
"The possibility to create PDF forms with embedded JavaScript scripts"
means that's it possible to _intentionally_ create JavaScript script and
_intentionally_ embed them in PDF form elements such as text fields,
e.g. to validate or calculate their value. That's it. You could also
define a JavaScript script to be executed on opening your PDF form in
Acrobat reader.
Post by unknown
the problem i was having was with the js in the "date" function. when i
set the field to "plain" the problem vanished.
evidently, the js compiled by scribus has a bug that does not produce
correct js. that's my guess based on what the tutorial says and the
actions that i have taken to correct the problem and the cues given by
acrobat 5.
Please submit this issue to the Scribus Bug Tracker http://bugs.scribus.net
have fun:)
Maciej
well, i guess my reading comprehension has hit rock bottom. be sure to
read my response to craig.

i'm having more fun than a human being ought to have!

thanks for your help.

dwain
unknown
2006-10-11 09:48:41 UTC
Permalink
On Tue, Oct 10, 2006 at 05:59:04PM -0500,
Post by unknown
go figure, i went back to the original file, set
the date field format
Post by unknown
to "date", produced the pdf from scribus, opened
the file and it worked
Post by unknown
flawlessly; no, none, nill, nada javascript error
popped up.
Maybe you overwrote the PDF you had still open in
Acrobat Reader? If I
open a PDF in acroread, then export again from
Scribus, it often
complains, e.g. "Insufficient data for an image"...
You always need to
close/open the PDF again. (Plus disable Page cache -
I've had issues
with that, the Reader remembered all of the old
document even though I
had reexported to the same file)
The issue has become clearer, please check this bug
report:

http://bugs.scribus.net/view.php?id=4391

M.



____________________________________________________

Yahoo! Photos is now offering a quality print service from just 7p a photo. http://uk.photos.yahoo.com
unknown
2006-10-11 17:50:06 UTC
Permalink
Post by unknown
The issue has become clearer, please check this bug
http://bugs.scribus.net/view.php?id=4391
thanks, i've been following the progress of this issue since i filed it.
kudos to the devs at work behind the scenes.

btw, i discovered through this issue that scribus does produce javascript.

dwain

Continue reading on narkive:
Loading...