Setting Default value to a drop down field

Hi, I need help doing the following thing.

I am creating an edit page for my users to edit existing records.

When my users click on the pencil icon, it will open up a popup screen with that particular record from the repeating group.

In this popup screen, I have 3 dropdown fields that are supposed to show existing values from one table (client information table) and have options from a different table (system settings (title) table ).

The initial value (Encik) comes from the placeholder section which is from the client information table and when I click that dropdown I have other options that are coming from the system settings (title) table.

image

Now, let’s say I change the first name and last name without selecting the similar option as displayed in the salutation field or the position field, when I save the record, it becomes blank. I believe that the reason is that the existing value is coming from the placeholder section and it’s not an actual value being stored on that field.

Here is a bit more information for your reference.

I need help to fix this. I have tried watching videos and reading around but I’m still not able to fix this.

Thanks in advance :slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face:

This topic was automatically closed after 70 days. New replies are no longer allowed.