[Scribus] PDF forms with Scribus
Franz Schmid
Franz.Schmid
Tue Oct 21 23:17:20 CEST 2003
Maciej Hanski wrote:
>>Hello Maciej,
>>
>>That looks to me like valid scripting from what I know of Acrobat
>>fields. Mind you it is up to the Reader to interpret this correctly.
>
>
>>Could you send a PDF page with this example? Note: issues like this is
>>where we find bugs in Acro Reader Linux where they work properly in
>>MacOS or Win32.
>
>
>>Regards,
>>Peter
>
>
> Hello Peter, hi everybody,
> there we go. I created 2 equal forms, one with Acrobat 5 (Acrobat PDF Writer), and the other one with Scribus. Each form contains 2 fields, both of them have default values set with JavaScript (Field Properties ->Validate-> Custom Script).
>
> 1st field:
>
> this.getField("Titel").value="Test default value";
>
> 2nd field:
>
> var f = this.getField("Area");
> f.value = "Bla bla bla";
>
Tested this myself on Linux and on Windows, maybe the Acrobat Reader doesn't like
the Unix way of lineendings in Scripts, only linefeed instead of carrige return +
linefeed as in Windows. Tomorrow I'll do some testing with this.
Best Regards,
Franz Schmid
More information about the scribus
mailing list