Go4Expert (http://www.go4expert.com/)
-   Web Design, HTML And CSS Forums (http://www.go4expert.com/forums/web-design-forum/)
-   -   XForms: how can I browse around? (http://www.go4expert.com/forums/xforms-i-browse-t3311/)

pietrom 8Mar2007 22:36

XForms: how can I browse around?
I use XForms to obtain a file path from the user and to write it on a local file:

HTML Code:

<xf:model  id="model1">
    <xf:submission  id="s01" method="put" action="file:output.xml" />
<xf:input  model="model1" ref="input">
    <xf:label>File path:</xf:label>
<xf:submit  submission="s01">

Here everything works correctly, but the path has to be written "by hand" inside the form.
What I need is the possibility to choose the file in the usual way, with a point and click.
I can do it with an usual form:

HTML Code:

<input  model="model1" ref="input" type="file" name="datafile" size="40 />
but in this way I cannot save the path on a local file...

Is it possible to get both things at the same time?
I.e. choose a local file from the GUI and save its path on a local text or XML file?
Either with XForms, classic forms or whatever...

pietrom 12Mar2007 20:51

Re: XForms: how can I browse around?
Can anybody give me a hint? :o

All times are GMT +5.5. The time now is 19:31.