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 / Collecting a checkbox ...
Power Apps
Unanswered

Collecting a checkbox that is in a gallery when adding a new row of data

(0) ShareShare
ReportReport
Posted on by

#Hello,

ManonD_1-1643549347731.png

I have a gallery in my second screen. It contains several data that come from a Table "Table2".
It allows to view all the data in "Table2", but also to view new data added to a "Collect2" Collection.
Then the user can check the added data by clicking on the "Checkbox2" "not yet validated" checkbox. If he validates, then the checkbox will read "Validated on ../../2022".
This works for data already present in "Table2". However, when I add new data, I can't get this checkbox to appear.
I fill my form and press the "Done" button to collect the new data with this code:

 

Collect(
 Collect2,
 {
 ID: ThisItem.Reference_x0020_code,
 DateCreated: Text(Month(DatePicker1) & "-" & Year(DatePicker1)),
 OptionSelected:If(Checkbox_Option1, Text(ThisItem.Option1_x0020_), 
 If(Checkbox_Option2,Text(ThisItem.Option2),
 If(Checkbox_Option3,Text(ThisItem.Option3)))),
 TaskOwner: ThisItem.Task_x0020_owner_x0020_,
 Comment: Comment.Text,
 Validation:ThisItem.Validation,
 Validator: ThisItem.To_x0020_be_x0020_validated_x0020_by_x0020_,
 Controler: ThisItem.Backup_Task_x0020_Owner,
 Status: ThisItem.Status
 }
)

 

I put "ThisItem.Validation" but it doesn't work and if I put "Checkbox2" directly instead, then I get the error message that the "Validation" column is text type and what I put in it is error type so it is incompatible.

Has anyone had this problem collecting a checkbox that is directly in a gallery?

Thank you very much for your help!

 

 

Categories:
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @ManonD ,

    Storing a checkbox directly needs a field of Boolean (true/false) type.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard