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 / Yes/No checkbox return...
Power Apps
Unanswered

Yes/No checkbox returninng blank value.

(0) ShareShare
ReportReport
Posted on by 825

As the title says I have a checkbox but when check the value stored in the column it returns blank. This occurs when the Checkbox is unchecked.

rpersad_0-1697227246342.png

 

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    HI @rpersad , Hope you are doing this way, If not then try below code on check box:

    OnCheck

     

    Set(gblvar_Checkbox, true)

     

    OnUncheck

     

    Set(gblvar_Checkbox, false)

     

    And use this variable 

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • rpersad Profile Picture
    825 on at

    So the default state of the Checkbox is unchecked. After submitting the form, when i check the value returning from the SharePoint list it returns blank for a Yes/No column when the default value is No. Want to know where this issue may stem from

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Hi @rpersad , Apologies but I didnt understand the requirement. Could you please elaborate more?

     

    Thanks,

    ANB

  • rpersad Profile Picture
    825 on at

    I am checking the value stored in a sharepoint checkbox to see if it is true or false to determine what actions need to occur, however when I check the value gblCurrentRecord it returns Blank as shown in the image.

    rpersad_0-1697469291651.png

     

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Where you have used this code? Which property? Where you have declare the gblCurrentRecord variable?

     

    Thanks,

    ANB

  • rpersad Profile Picture
    825 on at

    gblCurrentRecord is declared on a button in a gallary before navigating to the form page.

    Set(gblCurrentRecord,LookUp('eRAR List',ID=galAdminRequests.Selected.ID));

     

    And the I am checking the value in gblCurrentRecord.DataOwnerRequired in a button on the same screen as the Form.

    rpersad_0-1697471187270.png

     

  • rpersad Profile Picture
    825 on at

    I have tried setting the default of the checkbox to a variable and setting the value to false, however, when I get the record and check the value saved in the Yes/No column it returns blank().

  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at

    Hi @rpersad , Apologies for late reply. Wanted to know how you are patching the record to data source? Can you confirm that DataOwnerRequired is getting patched properly to SP list 'eRAR List'?

     

    Thanks,

    ANB

  • rpersad Profile Picture
    825 on at

    I am using the SubmitForm function and when i click the checkbox it does save as true

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard