|
||||
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
- Click on the file upload control field and go to "Properties." In the HTML tab, paste the following code into the "Others" field:
onBlur="GetValue(this)"
- Create a text field and label it "Path." This is where you will store the path value that you receive from the file upload control field.
- In the form's JavaScript header, paste the following code:
var uplpath ; function GetValue(path) { uplpath = path; document.forms[0].path.value = uplpath.value } - Finally, browse through the form and attach the file using the file upload control field. Notice that the path has been trapped in the previously crated "Path" text field.
Do you have comments on this tip? Let us know.
This tip was submitted to the SearchDomino.com tip library by member Gowri Balasundaram. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.
This was first published in September 2008