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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Select a multi-select ...
Power Apps
Suggested Answer

Select a multi-select checkbox if a text field is not blank

(1) ShareShare
ReportReport
Posted on by 6
Hello, 
 
I am building a PowerApps form and have created a multi-select checkbox using a Gallery based on the instructions in this video.  Create Multi select Checkboxes in Power Apps for SharePoint List Forms | Radio, List Box control (youtube.com) at 9:43. 
 
There is a text field below the checkboxes and if 'Other' is selected, the text field is required.  This works fine. 
 
I would like to do the reverse, if the text field is not blank, then auto-select the 'Other' checkbox but am not finding a solution.  
 
Any help would be appreciated.  Below is a screen shot to help show the setup.  
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,504 Super User 2025 Season 2 on at
     
    HI,
     
    in your Other CHeckbox default
     
    If(!IsBlank(MyTextBox.Text), true, false)
     
    So this will check the box the second the textbox has something in it.
     
    please mark as the answer if this helps you.
  • Suggested answer
    CA1105 Profile Picture
    545 Super User 2025 Season 2 on at
    You can try below code on check box default property
     
    If(!IsBlank(TextBox.Text), True, False)
  • hassel12 Profile Picture
    6 on at
    Thank you for the suggestions.  The problem with the default as suggested for Checkbox8, is the checkbox isn’t only just for the Other option.  The Gallery displays the choices and a variable is used to update the field in the SharePoint list. 

    Below are the property values for the Academic Staff_DataCard1, Gallery8, Checkbox8 and the text field AcadOther_DataCard1. 

    Gallery8 ITEM property pulls the choices from the SharePoint list datasource. 
    Checkbox8 TEXT property = ThisItem.Value
    Checkbox8 DEFAULT property = ThisItem in academicstaffcombobox.SelectedItems
    Academicstaffcombobox VISIBLE property = false
    Academic Staff_DataCard1 UPDATE property = Coalesce(varAcadStaff,ThisItem.'Academic Staff')
    For the text field, AcadOther_DataCard1, the REQUIRED property = If("Other (complete text box below)"in varAcadStaff.Value, true, false)
     
     
    Thank you

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 740 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 342 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard