Expand my Community achievements bar.

Accessing another form fields

Avatar

Level 2

I have 2 forms form 1 and Form 2; how can i access form 2 fields from form 1? I read the Acrobat Javascript reference and I saw this code snippet:

var otherDoc = app.openDoc("myDoc.pdf", this);
otherDoc.getField("name").value="Enter your name here: "
otherDoc.getField("name").setFocus();
this.closeDoc();

I reconstruct it to match my form values. It opens the other form but it doesnt do anything else.

Is there a way to do this?

1 Reply

Avatar

Level 2

Does anyone know how to do this? Really need the help..

Thanks in advance.