Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Yes/No checkbox returninng blank value.

(0) ShareShare
ReportReport
Posted on by 752

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:
  • rpersad Profile Picture
    752 on at
    Re: Yes/No checkbox returninng blank value.

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

  • ANB Profile Picture
    7,128 Super User 2025 Season 1 on at
    Re: Yes/No checkbox returninng blank value.

    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
    752 on at
    Re: Yes/No checkbox returninng blank value.

    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().

  • rpersad Profile Picture
    752 on at
    Re: Yes/No checkbox returninng blank value.

    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

     

  • ANB Profile Picture
    7,128 Super User 2025 Season 1 on at
    Re: Yes/No checkbox returninng blank value.

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

     

    Thanks,

    ANB

  • rpersad Profile Picture
    752 on at
    Re: Yes/No checkbox returninng blank value.

    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,128 Super User 2025 Season 1 on at
    Re: Yes/No checkbox returninng blank value.

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

     

    Thanks,

    ANB

  • rpersad Profile Picture
    752 on at
    Re: Yes/No checkbox returninng blank value.

    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,128 Super User 2025 Season 1 on at
    Re: Yes/No checkbox returninng blank value.

    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


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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1