- From: Klotz, Leigh <Leigh.Klotz@xerox.com>
- Date: Mon, 22 Jan 2007 13:12:21 -0800
- To: "Pietro Mele" <pietromele@yahoo.com>, <www-forms@w3.org>
Received on Monday, 22 January 2007 21:12:38 UTC
Try the attached file. I added an element name under inputData and used the xf:filename and xf:mediatype elements under the xf:upload to bind the filename and mediatype to those nodes. If you want to save just the filename and not the file contents, you might consider restructuring your instance to put the element attach somewhere else, and the in your submission, specify ref="/paths/inputData" and only that will be stored. Please write back if this isn't clear. Leigh. ________________________________ From: Pietro Mele [mailto:pietromele@yahoo.com] Sent: Monday, January 22, 2007 6:35 AM To: www-forms@w3.org Subject: I need an XForms that lets me choose a filename from the usual popup directory window, and that stores the selected file name/path on a local text file. I tried with the following code, but it does not work properly:
Received on Monday, 22 January 2007 21:12:38 UTC