Page 1 of 1

Dynamic File Upload Fields

PostPosted: Sun Dec 18, 2011 6:52 am
by sim
Hello

I need a form where a user can dynamically upload files i.e. the form starts out with a single upload field and if the users require to upload more files they simply click "add another" and another field with "browse" button appears allowing the user to dynamically choose the number of files to be uploaded.

I have tried the "table" widget but it seems to only work for text/tabular data. Saving the files on the file system and only saving the link in the table widget also dosen't work.

Any pointers please?

Thanks

Re: Dynamic File Upload Fields

PostPosted: Sun Dec 18, 2011 9:56 am
by ADobkin
Per the [url http://xataface.com/wiki/widget%3Atype]Widget:type[/url] reference page in the wiki:

As of version 1.2.5, file uploads are not supported in the grid widget.


Unless someone else has already developed a method for this that they wish to share, I'm afraid you would have to code your own solution. This page may be helpful:

http://xataface.com/documentation/how-t ... avascripts

Good luck, and if you do come up with a workable solution, please post it here!