Expand my Community achievements bar.

Two attachment interfaces on the same form

Avatar

Level 9

I have a four page form. On page one is an attachment interface where users can click a button and add an attachment. the file name appears in a Listbox object "window". I added a second attachment interface on page four. Is it possible to connect these two interfaces so the user can view the same attachments regardless of which interface they are currently looking at? I tried binding as global but I can't see the attachments added to the other interface.

Here's my attachment interface code:

var d = new Date();
var myDoc = event.target;
var sFile = "myFile" + Math.floor(d/1000); 
myDoc.importDataObject({cName: sFile});
var myDataObject = myDoc.getDataObject(sFile);
var sFileName = myDataObject.path;
ListBox1.addItem(sFileName,sFile);
NoOfAttachments.rawValue = NoOfAttachments.rawValue + 1;

0 Replies