I looked at your code.
I don't see how you can proceed further without being able to do a table lookup.
Come back when you can show that.
I looked at your code.
I don't see how you can proceed further without being able to do a table lookup.
Come back when you can show that.
This is caused by you trying to cram an entire list into a single cell in your Google Form.
There are two different ways to avoid this:
Send one Form to start the order and give it a unique timestamp ID, then send detail order item forms, one per food, telling how many of that food are in that order, and the subtotal cost for that food.
Extend your order sheet to the right with columns for every food in the menu, identifying the food in row 1, and listing the quantity requested (default 0) or cost in that column against each order row. That would allow you to send a single Google Form for the entire order, but it would be really long, as long as your menu.
I don't even know the basics of MIT so much. This was made by a tutorial for a school project which then turned into an app as it was the only coded one made. So, I hope you understand and tell me from the basics.
This is something I don't know
This is a lot more summarized. I hope you can give it in detail. Please don't be angry. I know this is awkward for someone to make an app without any knowledge. I know but this was just a school project turned into an app.
Let me suggest you to start learning some basics then...
A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .
Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
I am not angry.
I am stumped.
My ability to explain does not reach far enough to cover your ability to understand or your experience.
If you can explain with the help of codes. I think that may work.
Please help. I am confused what table lookup is or from where to start.
Table lookup is when you look in a table to answer a question like "how much does this menu item cost?"
You are already doing this in asking TinyDB for a tag value, or when you use the list block Look up In Pairs or use the spreadsheet function =VLookup () or when you use an AI2 dictionary.
and is the video correct for table lookup?
Sorry, DoIt used to be described there. Try here:
http://twodogapps.com/?page_id=686#DoIt
and
Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
I tried using Do It, but it wasn't that helpful. (Maybe I didn't use correctly)
Do It does not work on When blocks.