Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Checkbox Default in Gallery

(1) ShareShare
ReportReport
Posted on by 36

 

Hi everyone,

 

I have an editform with a gallery, and a checkbox in the gallery. I inserted a datatable to display items in my sharepoint list. I hope that when I click on the table, it will navigate to the editform screen, and the editform will display the items selected in the datatable.

other information is correct. but the checkbox is blank. How should I set the Default or any other properties?

 

here is my Default of checkbox (got an error), NewStudyChoice is my data collection for the checkbox

Self.Text in Split(NewStudyChoice, ",")
  • DBO_DV Profile Picture
    4,534 Super User 2025 Season 1 on at
    Re: Checkbox Default in Gallery

    Seems to me that you are trying to use the Checkbox as an Radiobutton control or Combobox controll. 

    A Checkbox can just  display one Value (Not a list of Values). 

    I assume that's why you're trying to use a Gallery. Allthough it is quite a clever workaround it won't be that easy to save the data. I Advice to use a Combobox to do what you want, but if you absolutely need to keep the Checkbox here's what you would need to change:   

    Self.Text in Split(NewStudyChoice, ",")

    Should come into the Items property of your gallery.

    in the default of Checkbox you  need this

    ThisItem.Value

     

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard