I am using app inventor to build a recipe app. I was wondering how I could take the information from a user submitting stuff into this form I am very new to app inventor and so I don't think it's complete. I would like to take whatever the user will submit and display it on another screen. How could I do this? Please tell me where I am not clear.
There are many methods for a user to input data in App Inventor apps. A good example is a spinner.
According to the AI2 documentary, a spinner component that displays a pop-up with a list of elements. It looks like this.
The user can select an option. Once an option is selected, a spinner.AfterSelecting
event triggers.
The orange section of the event controller holds a variable. The variable denotes the option the user chose. It updates automatically when a new option is chosen.
You may use the variable provided to send data the rest of the app. For example,
set
command sets recipeName to the option the user chose.startScreen with startValue
function. It allows you to send custom text, which you can get on the other screen using the Get Start Value
under Control
blocks