How to create form black with 7 consequtive select roll outs (pickers) for each column and show the result from last or first colum of database? #15035
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @FleetDriver A couple of things I've noticed from your screenshots: I can see that you've also got the form block set to view. If you want to use this form to edit, you'll still need to pass in a row ID, but it will allow the user to edit the row and save their changes. With regards to your dropdowns - there are a few ways you could approach these - You've already started with a Form Block, so lets head down that route. If you click the little cog/sproket icon next to the field you'll be able to specify certain settings within each field. In your case, for select-pickers in the Form Block, you'll want to set the Options Source to "Custom". You will then see a button that says "Define Options" - here you can edit which options are presented to the user in the dropdown. There are a few other ways to handle this kind of thing, using Multi-Select, Options Picker, or Relationship Picker, and whilst these options offer much greater control over the data, they require more setup. Head to https://docs.budibase.com/docs/pickers to read more about them. You may also find this guide useful - https://docs.budibase.com/docs/cascading-dropdown-filters - Here we are filtering the options presented in the second dropdown, based on the value supplied in the first dropdown. You will only see cities that are in the country. Hopefully this helps get you on your way. We're looking forward to seeing what you build with Budibase! |
Beta Was this translation helpful? Give feedback.
Hey @FleetDriver
A couple of things I've noticed from your screenshots:
You're fetching the row ID from the URL, but if you're previewing the screen with the form on, there's a high likelihood that you arrived at that URL without specifying the row ID in the URL. Typically we might do this by having a table of all of the rows on
/table
and then clicking a row might navigate to/table/:rowID
Have a read through this guide in the documentation to make sure you're taking the right approach: https://docs.budibase.com/docs/passing-bindings-in-url-parameters
I can see that you've also got the form block set to view. If you want to use this form to edit, you'll still need to pass in a row ID, bu…