... <xf:model id="model1"> <xf:instance> <input>./data/default.txt</input> </xf:instance> <xf:submission id="s01" method="put" action="file:output.xml" /> </xf:model> ... <xf:input model="model1" ref="input"> <xf:label>File path:</xf:label> </xf:input> ... <xf:submit submission="s01"> <xf:label>Save</xf:label> </xf:submit>
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:
<input model="model1" ref="input" type="file" name="datafile" size="40 />
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...