Save Form Data examples not working?
Having problems getting our save form data sample code working?
Steps for troubleshooting:
- Is the 'index.html' file in the main Kiosk Pro folder and have the other files maintained the correct folder structure? You can check this by opening the Local File Directory setting to see the file path for each locally stored file.
- Is there a Unique iPad ID set in Kiosk Pro settings? The Unique iPad ID must be set as it is included as part of the name of the .csv file that contains the form data, allowing you to tag the data from each of your kiosks. You also should check to make sure you don't have any special characters entered in the iPad ID (like commas, hyphens, etc.) that could cause an issue.
To see if data is being saved successfully, run Kiosk Pro, enter sample user info, then either reconnect the iPad and run iMazing to see the file, or if you are running it while connected, hit 'Refresh' in iMazing and check for the new file.
The submitted form data won't be in the sample file we include, but should be in the same folder in a new .csv that incorporates the Unique iPad ID you have set into the filename. You also should check to make sure you don't have any special characters entered in the iPad ID (like commas, hyphens, etc.) that might be causing an issue.
The 'Turn Off Airplane Mode or WiFi to Access Data' message is generated by the iOS; basically to keep the iPad from letting WiFi go to sleep (for users who need a connection for their content), we have to preset a flag that tells iOS that we need WiFi all the time (whether or not this is true). This flag has to be set when the app is compiled so it's not something we can toggle depending on the user's content or settings. This results in the pop-up you would see when the app is first launched without internet connection, but shouldn't otherwise affect the functionality of the app for offline use.
For the example files to work without modification, they need to be saved in the root of the Kiosk Pro document folder. We've included a screenshot of what this would look like in iMazing in the 'Troubleshooting' folder in the .zip, where the homepage is set as just 'index.html', not 'savedataplus/index.html'.