How to edit an existing record with prefilled dropdown values?

Hello all, I am brand new in Adalo, so please enlighten me!!!

I have a Daily Reports collection and I want to add an Edit option.
When I open the edit screen, I want the existing values to be prefilled and be able to change them using dropdowns.

I don’t want to create a new record — I want to update the existing one.

How can I set up an edit form with dropdowns that show the current values by default in Adalo?

Hi @Kostis,

Welcome to the community! :tada:

You have a custom form or a built-in form? Does the record data to be edited is available in the screen? If it is, you can select update option in the built-in form or populate the saved values from magic text if it’s a custom form. Would you be able to include some screenshots of your setup or a screen recording?

Thank you and have a great day!

Hey @Kostis, Welcome to the Community :waving_hand:

In order to edit an existing record with prefilled dropdowns, please check the following steps:

If you’re using the built-in form:

  • On the edit button of the form: Add an (Update Current Collection) action.

  • Make sure the screen has the current record data linked to it. You can check in the (Available data) section in the screen’s parameters.

  • In the built-in form, dropdowns auto-prefill with the current record’s values.

If you’re using a custom form:

  • On the form screen, add dropdowns, and select the (Default Value) = Current Collection > Specific relationship.

  • Make sure the screen has the current record data linked to it. You can check in the (Available data) section in the screen’s parameters.

  • On submit button: Add this Action (Update Current Collection).

Test it and let me know how it goes.

Ali Bazzi
webnux.org | consultation.webnux.org

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.