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 / Model-Driven App hide ...
Power Apps
Answered

Model-Driven App hide a whole Main Form with Javascript

(0) ShareShare
ReportReport
Posted on by 33

Hi

 

I have a model-driven app with 2 different main forms. I want to hide them under conditions. Is there a possibility to hide whole forms under conditions in javascript as events? 

I know there are ways to hide tabs and section WITHIN a form, but I want to hide a whole form (basically 1 step before).

 

My 2 forms:

furgun_0-1689583092229.png

As you can see, the user sees both forms and can "switch" to the other form. But I want to say, if condition x then only show "Hochladen" form, if condition y then only show "Prüfen" form.

Screenshot 2023-07-17 104422.png

 

Thanks!

 

Regards

 

 

Categories:
I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    Hi @furgun ,

     

    As far as I am aware there is no option to write an event which can hide a Form based on a condition.

     

    Some options:

     

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

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard