Dynamic dropdowns using option types and dpdating of display

I have a form with dynamic drop downs utilizing option types.

I’m able to pick a type from a dd and update the db with user selection, and I’m able to display the users selection by reading from that db field.

However, when I go to update the form, the dds are displaying the db value that was written when they were first selected, correctly, (rather than an option type) and when the update workflow runs, the update is looking for the option type from the dropdown rather than the already selected, db value that’s currently present, so at the end of the workflow the new db value is now null.

So the question is, how do I tell bubble (on “Update”), that if the db field is not empty, keep the db value and if it’s an option type, use the selected option type to update the field?

I hope this is clear. Thanks!

1 Like

Hi there, @mfsmillie… based on your description of the issue, are you by any chance showing the current value via the dropdown’s Placeholder field instead of the Default value field? If that is the case, put the expression from the placeholder into the default value, and you should get the desired result.

Best…
Mike

2 Likes

thanks much @mikeloc

1 Like

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