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 / Make Fields visible ba...
Power Apps
Unanswered

Make Fields visible based on input

(0) ShareShare
ReportReport
Posted on by 438

Hello 

 

I have PowerApps and I have five fields for it:

 

F1

F2

F3

F4

F5

 

I have another fields where i will ask user to enter a number between 1-5,

 

If user enter 2, I want to make F1 & F2 visible and other hidden

If user enter 4, I want to make F1 & F2 &F3 & F4 visible and other hidden

 

Is there any way to achieve this.

 

Surely I will get something from Power Folks

 

Thanks in Advance

Categories:
I have the same question (0)
  • C-Papa Profile Picture
    1,836 on at

    Assuming the user is entering text into textinput1 then you will need to add this formula to the visible property of the element you are trying to hide. 

     

    F1 Visible = Value(Textinput1.Text) = 2 || Value(Textinput1.Text) = 4

    F2 Visible = Value(Textinput1.Text) = 2 || Value(Textinput1.Text) = 4

    F3 Visible = Value(Textinput1.Text) = 4

    F4 Visible = Value(Textinput1.Text) = 4

    F5 Visible = .....

     

  • vish3027 Profile Picture
    438 on at

    @C-Papa ,

     

    User can enter any value between 1-5 not only 2 or 4... i have given these as example...

     

    Based on value those many fields will be visible

     

    As given by you i can add or conditions and manage that but is there any other way to do that.

     

    Thanks

  • C-Papa Profile Picture
    1,836 on at

    hi, no, there is no other way, you have to set the visible property per element using a condition, however, you could just add 1 each time so the formula is basically the same. 

     

    f1 visible = Value(TextInput1.Text) >= 1

    f2 visible = Value(TextInput1.Text) >= 2

    f3 visible = Value(TextInput1.Text) >= 3

    etc etc

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard