I have been trying for the last 3 hours (youtube videos, online documentation) to have in a form
the business names in a chosen city appear in a dropdown select box depending on which city the user picked previously also in a dropdown select box.
@Kami_Barut
Your screenshot3 and 4 images are completely missing so it’s too hard to understand its content and where you are mistaken. Can you please fix it so that we can check?
@LeventK
Thanks for your answer.
Appsheet forum only lets you include two url links within one post.
The workaround I used for Screenshot 3 url link and Screenshot 4 url link was to include
an empty space between the “s” from “https” and the semicolon.
The correct url links are:
Screenshot 3: https://ibb.co/B2xhMqg
Screenshot 4: https://ibb.co/kJf3q13
@LeventK
It is not working, you can see on screenshot 5 that the two fields are entirely skipped in the form.
Screenshot 5 : https://ibb.co/6sWrvTJ
I added:
a) SELECT(RATE[City],TRUE,TRUE) in the section DATA VALIDITY → Valid If input field of the City column.
b) SELECT(RATE[Hairdresser Business Name],[City]=[_THISROW].[City]) in the section DATA VALIDITY → Valid If input field of the Hairdresser Business Name column.
@LeventK
Actually, yes. It may have been a misunderstanding from my part on how to display form fields and collect form entries.
What is the correct approach ?
@Kami_Barut
Instead of Valid_if try using Suggested_Values property instead. But I may advise moving those City and Business names to a separate table and read those dropdown values from that table thru Valid_if
Should I create a different table with just those two columns filled with all cities in the City column and hairdresser business names in a Hairdresser Business Name column and refer to that new table in the sections DATA VALIDITY → Valid if input field inside the RATE table ?
@Kami_Barut
Are you using a slice? If so, ensure that those columns are included in your slice. Also can you please check the Show_if of those columns in case they had unintentionally been switched off?
Is it mandatory to use a slice to show a simple form with select dropdown options ?
For your second remark, I am a bit confused. Do you mean Show_if in the UX for my form view ? (Screenshot 7 here: https://ibb.co/mS54Lzt ) It is empty but the entire form is shown.
For the Location table, the City and Hairdresser Business Name fields SHOW? checkboxes are checked.
Every single column name in the RATE table (as well as in the LOCATION table) which needs to appear in the form has the property Show? checked, i.e: ON.