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 Apps
Unanswered

Shiw/hide Button

(0) ShareShare
ReportReport
Posted on by 6

Hello all, Please I need ur help I wanna to create a button with can be available only whel all cells of column named are ACCOUNT STATUS replied 

 

If(
IsBlank(AccountStatus.Text),
Notify("Veuillez remplir tous les champs obligatoires.", NotificationType.Error),
SubmitForm(Form2)
)

I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Khwalita ,

     

    Could you please share more details about your scenario? Where is this AccountStatus Text Input Box? Is it a Control that inside a Gallery?

     

    If so, you can try below formual:

    If(
     CountRows(Filter(Gallery.AllItems, IsBlank(AccountStatus.Text)) = 0,
     Notify("Veuillez remplir tous les champs obligatoires.", NotificationType.Error),
     SubmitForm(Form2)
    )

     

    Best regards,

  • Khwalita Profile Picture
    6 on at

    You find bellow screens of my application I need to my button be available only when all coloms of accounts status are not empty 

    Capture.PNG
    Capture1.PNG
    Capture2.PNG
  • Khwalita Profile Picture
    6 on at

     

    Unfortunately it doesn't work 

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Khwalita ,

     

    I can only see a Label inside the Gallery. So, do you want to check the AccountStatus column values actually? Please try below:

    If(
     CountRows(Filter(Gallery.AllItems,IsBlank(AccountStatusLabel.Text)))) = 0,
     Notify("Veuillez remplir tous les champs obligatoires.", NotificationType.Error),
     SubmitForm(Form2)
    )

     

    If this still doesn't work, please share the error or result.

     

    Best regards,

  • Khwalita Profile Picture
    6 on at

    It doesn't accept the value Gallery I think I should change it but by what ?

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Khwalita ,

     

    Change it to the Gallery name in your App.

     

    Best regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard