Capture API: Save Form Data
This API will save data (for example, information entered into a form) to a .csv or text file stored locally on the device.
CSV (comma-separated value) is a standard format compatible with most spreadsheet software, including Microsoft Excel, and is often used as a format for uploading contact data to online databases. When saving in this format, Kiosk Pro saves each entry as a new line and each cell within that line must be delineated by a comma. Entries can also be saved to a plain text (.txt) file.
- By Import - recommended, works both online & offline, requires inclusion of kiosk_functions.js prior to any of the following calls.
- By Injection - only works offline, may not be available 'onload' event.
Other file management calls available here.
More information on how to sync the resulting .csv file back to a Dropbox account if you are using our Plus or Enterprise versions is available here.
This function saves data to a file stored locally in Kiosk Pro's documents folder.
|Callback return values||success = if defined, the function successfully wrote data to the local file named.|