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

Community site session details

Session Id : hhk1zTlBhBePAEy8jSMMJ3
Power Apps - Building Power Apps
Unanswered

Yes/No checkbox returninng blank value.

Like (0) ShareShare
ReportReport
Posted on 13 Oct 2023 20:03:38 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 24 Oct 2023 at 18:51:48
    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,131 Super User 2025 Season 2 on 24 Oct 2023 at 18:30:27
    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 24 Oct 2023 at 18:18:59
    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 16 Oct 2023 at 15:47:21
    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,131 Super User 2025 Season 2 on 16 Oct 2023 at 15:31:47
    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 16 Oct 2023 at 15:15:06
    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,131 Super User 2025 Season 2 on 16 Oct 2023 at 13:54:53
    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 16 Oct 2023 at 13:31:14
    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,131 Super User 2025 Season 2 on 13 Oct 2023 at 20:13:35
    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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!