Highlighted

Assigning the file path to a text field

Avatar

Guest

23-03-2009

I assume this is simple, but I can't figure it out...



I want to be able to print out the the file name on my form -- preferably the full path to the PDF file, e.g. N:\MyFolder\MySubfolder\MyFormName.PDF



I have been looking at the GetAttribute command but I can't seem to find the file name and path in the XML object model.

Replies

Highlighted

pguerett

24-03-2009

The filename and path are not stored in the XML.



The command event.target.path will return the full path and file name to you. The command event.target.documentFilename will return just the filename - no Path.