Scribus Forums

Scribus => PDF Generation => Topic started by: zero82 on July 03, 2014, 10:31:23 am

Title: interactive pdf
Post by: zero82 on July 03, 2014, 10:31:23 am
hi,

I'm looking for a way how documents created in scribus to convert it to pdf. The pdf file have to do is when i push a checkbox a graphic should be hidden. I have used the following Javascript. The code is correct, because the hide is working with a text frame. But the same code works not with pictures. What am I doing wrong? Do I have to set something else, so he hides the graphic?

Here the code:

Code: [Select]
var tF1 = this.getField("bild")
if (event.target.value == "Yes") {
tF1.display = display.hidden
}
else {
tF1.display = display.visible
}

thx
z