Hello,
I'm trying to have the webmaker form have a place where the user can upload a csv file. Does webmaker handle parsing a csv file by any chance?
This csv file contains data that needs to be uploaded to the database.
Also, I tried to add a button to the form, and add a custom attribute for type = 'file' so that when you click the button it would allow the user to upload a file, but I get the following error:
The custom attribute named 'type' is a reserved value because FormMaker can already generate it. Please rename.
Is there a way around this?
I'm trying to have the webmaker form have a place where the user can upload a csv file. Does webmaker handle parsing a csv file by any chance?
This csv file contains data that needs to be uploaded to the database.
Also, I tried to add a button to the form, and add a custom attribute for type = 'file' so that when you click the button it would allow the user to upload a file, but I get the following error:
The custom attribute named 'type' is a reserved value because FormMaker can already generate it. Please rename.
Is there a way around this?
RE: Uploading CSV File
WebMaker doesn+?+?+?t have out of the box support for file uploads, but you should be able to add it relatively easily.
Have a look at this forum entry http://www.hyfinity.com/node/105 for an example of adding an upload process. In your case you won+?+?+?t need to do some of these steps though (eg the skin changes) as you only need to upload the file, not redisplay it on the screen etc.
You probably also wont need to do the Base64 encoding, as you just want the uploaded CSV string text to later process, eg via a custom XSL.
I hope these pointers help you progress, but let me know if you need some more detailed information.
Regards,
Gerard