Dropdown control in form - how to populate with field value and update back to database

I am trying to learn the different types of form controls and how they work in Wappler. I have a working update form where I wanted to replace one of the text input controls with a dropdown control. I want to populate it first with the value of the field in the database, then allow the user to changWhat is the right way to do this?

Thanks,
Rick

check boxes and radio buttons are next…

Hello,
Please check: https://docs.wappler.io/t/dynamic-select-menu/2867

thanks. I can get the existing value in to the select box field as you say in the doc. It is not a dynamic table but the actual value in the record that I’m using. I have the options coded manually in the table. What I can’t seem to get to happen is write the value back to the database whether it is changed or not. I have in the server connect that the value of the field is equal to the select control. I tried a condition as well if the value of the select box exists and that didn’t work either. What am i doing wrong?

Thanks,
Rick

got it to work!

1 Like

Wappler has changed a bit from this version…
I can not get it to work based on this older example.

Do we have a newer example of this?

Also we need an example with a drop-down within an existing dynamic form (So will you have to create a form inside anther form?)

Hello,

What exactly do you find different/not clear?
The process is the same - select a data source and then dynamic text/value.