Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Keep an Object Hide after SubmitForm

(0) ShareShare
ReportReport
Posted on by 100

Hi Everyone,

 

I have 3 objects, Textbox Combo Box and Radio buttons that is hidden and unhide these 3 objects when the Check Box is checked. 

 

I have  a Button 'submit' onSelect trigger to send data to  SharePoint list thru SubmitForm and NewForm function. . I noticed after an item is created the 3 objects is still visible although the Check Box is already UnCheck.

 

How do I keep the 3 objects Hidden after the form is Submitted? Thanks for all your help 🙂

  • floxfloat Profile Picture
    100 on at
    Re: Keep an Object Hide after SubmitForm

    Hi v-Bofeng,

     

    Can you elaborate more how this is being done?

    I have set a variable _controlVisible in button 'submit'  and value is false

     

    in my text input i.e 'textinput1',for visible property this object hides when checkbox1.value = false, how can I use _controlVisible variable to control/hide the visibility of textinput1 after the form is submitted?

    This formula I am using in 'textinput1' visible property

      If(checkbox1.value = true, true) , 

    this work ok however after the form is submitted, checkbox1 switch to uncheck which is expected however textinput1 remains visible

  • v-bofeng-msft Profile Picture
    on at
    Re: Keep an Object Hide after SubmitForm

    Hi @vicsaisan ,

     

    You could use variables to control the visibility of the controls. For example:

    When you submit form , execute this formula.

    Set(ControlVisible,fasle)

     Set these there controls Visible property to:

    ControlVisible

     If you need to make these controls visible, just set the variable ControlVisible to true.

     

    Best Regards,

    Bof

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard