Quantcast
Viewing all articles
Browse latest Browse all 229906

Record data with Ionic

If I understand your question correctly, you want to store data from a form to a data file, and retrieve that data later.

Yes, this can be done several ways, but ultimately what you would do is create a function that is called when you click the save or submit button and have it stored in a file, a database, local storage, or even posted to a remote server if needed. You can use the cordova-file plugin to read or write a file to the device. Use the file-transfer plugin to upload the file to a remote server. Each form field is tied to a scope variable and can easily be referenced in the controller.

Good Luck,

Robert


Viewing all articles
Browse latest Browse all 229906

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>