So I’m building an app by modifying the food truck demo/template. I’ve changed the database and most of the screens to work for my app. Overall I’m learning Adalo but I have a few pending items that I can’t find solutions for and I need help.
-
Can write User info into a Collection: I have an Orders table. I’ve added Users as a Property by using the Relationship option. When I use the Create Order action, I put data into 4 fields, with input coming from form fields (textbox, dropdown, etc). when I try to poke data into the User column, I can select “Currently Logged In User” but this doesn’t seem right, and, after the aAction this field is still NULL. What am I missing?
-
Text input default value: I have a text box for Quantity. When screen loads this gets the default value of 1. My form has: dropdown (product), textbox (qty) and an “Add” button. User selects a product from dropdown and enters the Quantity, then user taps “Add” button. This saves a new record in Order Items collection. I’ve also added “Change Input Value” step to my Action to change the textbox back to “1”, so Users don’t ahve to always type in a Quantity, as 1 will be the most common value. But, this is not working. After the Order Item is saved in DB, the text box has no value and user has to type somethign in. This is not a good user experience.
2a. How can I perform data validation on fields, before saving data? So how can I check that Quantity is not Null before saving an Order Item with no Quantity?
-
Again, I’m using the sample food truck “app” or “template”. I have no idea if this was set to Mobile or Web app. I can’t find any place to change this from one to the other. Do you only have one chance to do this?
-
(related to #3) on my iPhone the Date Picker simply does not work when formatted as a Calendar object. It pops up the iOS keyboard and you can’t dismiss the keyboard, which hides half of the calendar control.
I know I’m missing some but hoping I can get some answers on these soon! TIA.
Brian