web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Checkbox Automatically...
Power Apps
Answered

Checkbox Automatically Select Drop Down Value

(0) ShareShare
ReportReport
Posted on by 20

Hello,

 

I have a datacard that has a combo box and a check box. The combo box is pulling from a list on SharePoint called 'Full Item'.

 

If the check box is selected I want it to automatically set the combo box to the value of "OTHER." (this is an existing value in the SharePoint list). When "OTHER" is selected, a text box pops up for the user to enter custom info before submitting/updating the form.

 

Now, where this gets complicated is the datacard is within a form called "formNewOrders." When this form is filled out and submitted, it is thrown into a collection called "galShopCart" and takes the user to a page to view what's in the collection so far.  This way the user can review the items they've added before submitting the final order.

 

We have an edit button in they "galShopCart" gallery that pulls the form up and populates the data previously entered into the form from the collection to allow the user to edit an item.

 

This means the default value of the combo box on this page is set to "GalShopCart.Selected.'Full Item' - so we're having trouble figuring out how to also get this check box worked into where if it's checked, the value of the combo box is swapped to "OTHER."

 

I know we could just remove the combo box altogether and make the end user choose the drop down to select "other," but it was requested to be done this way so when the check box is selected the combo box is disabled and "greyed out" so it's obvious to the user they've selected the "Other" option and need to fill out the custom info in the text box.

 

 

Categories:
  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    make the default value an if based on value of your checkbox, if one then show this as default, if other, show other (or instead of other make the checkbox set a variable to Other, and then set the default to that variable, and you can then update that variable using their notes popup thing, so that your custom other can be added to the combo list and kept long term in a datasource for tracking if the column it is sent to is set up as choices, allow custom)

  • cbjones Profile Picture
    20 on at

    Thanks for the reply! Ultimately, after explaining the situation to the requester they were ok with us removing the check box and just using the combo box, instead. But, in the initial testing phase I was able to get your suggestion to work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard