How to submit a form and have it save to a local file

General Conversations

(I've scoured the Flutterflow site but was unable to find the "Ask The Community" category I was warned I should post this in. I hope it's okay here.)

I'm new to FlutterFlow but have worked Unix-based web development for three decades so I can hear the groans if this question is trivial and in the docs. I just haven't been able find it.

Here's the overview: I'm building an app for a health nonprofit to give parents of kids with asthma some basic information about the disease along with some contacts. There are several small forms that need to be saved and recalled/updated later, such as a user-supplied contact list of physicians and a list of medications currently being taken.

Because this is medical information there are couple of HIPAA constraints on the app. First, users are anonymous. There are no logins. Second, the client wants the data saved only on the phone, not on a cloud or a remote database.

I've got a working knowledge for Flutterflow's forms and validation. I just don't know how a submit process would work to save the data to a file on the device and to make it retrievable later.

A typical form is simple and are just free text fields: "Patient first name", "Physician name", "Physician phone". I suppose it's probably best saved as JSON but I don't know about JSON support in FlutterFlow. I also suppose the local filenames would be fixed and discrete to each form, i.e. "AsthmaApp Medical Contacts", "AsthmaApp Medications"...

Is this possible in Flutterflow? And what Actions/APIs would I need to use? Talk to me like I'm a five year old. ๐Ÿ˜€

3
6 replies