Highlighted

Set default folder to select image when browsing

Avatar

Avatar

pmcalex

Avatar

pmcalex

pmcalex

08-07-2008

Is there a way to set the default folder in JavaScript so that when the user clicks on an image field they will be browsing in the correct folder to select their image file?

I have a form that will be used in-house and would like the user to be able to browse an image folder we have on our local network when the image field is clicked.

I have tried using the following code in the click event with no luck:

xfa.resolveNode("form1.Page1.sfBody.txtImage").href = "O:\Pictures\";

Does anyone know if there is a way to do this???

Replies

Highlighted

Avatar

Avatar

pmcalex

Avatar

pmcalex

pmcalex

10-07-2008

I've had no response to this question and found a similar post from Dec 2005 http://www.adobeforums.com/webx/.3bbdc19d/1 that also did not have a solution.



Does anyone know if/how I can have the filebrowser open in a specified folder?