Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

How to set/update initial visibility on an element which is otherwise controlled by a checkbox?

Posted on by 45

Hi,

 

I'm a beginner so note that the solution might be simple 😊

 

I have an edit form with a checkbox that show/hide a text field. It works fine except for the initial state of the text field which is visible even though the checkbox isn't selected(=false). The way I set the visibility on the text field is simply by adding the DataCard name of the checkbox in the "Visible" property on the text field.

 

How do I "refresh" or set the initial state of the text field?

 

Thanks in advance

Kenneth

 

 

Categories:
  • Suggested answer
    EscapedAnteater Profile Picture
    EscapedAnteater 23 on at
    How to set/update initial visibility on an element which is otherwise controlled by a checkbox?
    Set the visibility on the element to 
    [checkboxname].value = true
     
    and the default checkbox property to 'false'
  • Drrickryp Profile Picture
    Drrickryp 30,510 on at
    Re: How to set/update initial visibility on an element which is otherwise controlled by a checkbox?

    @DSKJ 

    Set the Default property of the checkbox to false and set the Visible property of the Textinput box to 

    Checkbox1.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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard