PDF Form javascript and arguments
Hello all there,
mayby anyone of you could help me?
I produce PDF forms. To take care my users did not input absolutely wrong inputs I user Javascript to check their input.
As an absolutely imple example:
PDF-input-Field
on focus out automaticaly a function "test();" ist called.
function test() {
// some code
var xyz = ...
app.alert(xyz);
}Same code I need to call them leaving a lot of inputfields. So I thaught, it wold be a good idea to use arguments / parameters..
test("der"); // call my function in field atest("die"); // call my function in bield bnew Javascript:
function test(v) {
// some code
var xyz = v;
app.alert(xyz);
}But this did not work in PDF.
Could anyone help me, please?
Best Wishes
Gerhard
