Skip to main content
Solved

Drop Down Populating Text Field

  • February 7, 2025
  • 3 replies
  • 55 views

Forum|alt.badge.img+8

I have a Global Code that has the code value and description. I want to be able to display both the code value and description. I understand I can have 2 initiative ID fields, 1 display the code value while the other displays the description, but how would the initiative description be written to the database?

Is there a way to have a field populated based on a drop down in UI Designer?

 

Best answer by qquac

I figured it out. I had to update the custom metadata relationship def

3 replies

Forum|alt.badge.img+4
  • Do Gooder (Customer)
  • February 10, 2025

Hi ​@qquac,

Are you trying to populate the drop-down with both code value and description? or do you want the write values into global codes with code value and description combined?
I am not clear on this.


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • February 10, 2025

Hi ​@qquac,

Are you trying to populate the drop-down with both code value and description? or do you want the write values into global codes with code value and description combined?
I am not clear on this.

Hello ​@eluxpiumal,

When the drop down is selected, I would like the corresponding description populated in the text field, INITIATIVE DESCRIPTION, right beside it. For example, if “SD-1.11” is selected from the drop down, I would like “Price Increase” to be populated in the INITIATIVE DESCRIPTION text field.


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • Answer
  • February 11, 2025

I figured it out. I had to update the custom metadata relationship def