Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Set default folder to select image when browsing


Level 2
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???
1 Reply


Level 2
I've had no response to this question and found a similar post from Dec 2005 that also did not have a solution.

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