Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Help populating text box based on value of drop down

How can I populate the value of a text box based on the value of a dropdown? The drop down has values from table1 and the text box will retreive its value from table2


Accepted Solutions

I simulated your lists in PA and everything went OK here. Let me show what I have done:


Layout of the applicationLayout of the applicationFirst button, to simulate the Drivers Timesheet ListFirst button, to simulate the Drivers Timesheet ListSecond button, to simulate the Drivers Info ListSecond button, to simulate the Drivers Info ListDropdownDropdownFirst InputFirst InputSecond InputSecond Input

View solution in original post


You can use UpdateContext({ItemYouSelected: DropdownMenu.Selected }) in the OnChange property from the Dropdown. And after that you can use the filter in Table2 items with the ItemYouSelected.Value (or any property your item has).

Not applicable



There's also another way to do that. Set your text box Default field equal to the DropdownList.Selected.Value, and it will automatically update with the list.

@Anonymous, @camel


I got it to populate home address with the value of the drop down. How would I retrieve home address and clock No from Driver Info based off the drop down box?




Something like this would work. Just add this to OnChange property from the Dropdown:


UpdateContext({Info : LookUp(DriverInfo,DropdownValue exactin Name)})

After setting the Info, you will need to set up the Default property from both 'Home Terminal Address' e 'Clock No' Text Boxes.





Would I set the default property for 'Home Terminal Address' text box = Info?




You need to access the Column 'Home Address' from your Record. Something like this will probably work:

Info.'Home Address'



Tried mutlple ways and still getting error



@tbrantley can you please hover the yellow message sign and show the error message?



It says "Invalid Name"

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,167)