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 / Enable Botton when use...
Power Apps
Answered

Enable Botton when user select a value from one field.

(0) ShareShare
ReportReport
Posted on by 165

Hi All, I need your help guys.

 

How I can enable Actualizar y Cerrar (Update & Close) botton only when someone selected from Estado (Status):

 

- Iniciado

-Dev Parcial

- Terminado

- Dev Total.

 

 

rauseol_0-1679589597850.png     

rauseol_1-1679589674707.png

 

I alredy have a fomular that is activate when a user complete a field , but also I need when a person selecte those options in Status Field.

 

Hope you can help me.

 

Regards

 

 

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @rauseol 

    In the Visible property of the button:

    YourDropdown.Selected.Value ="Iniciado"||

    YourDropdown.Selected.Value ="Dev Parcial"||

    YourDropdown.Selected.Value ="Terminado"||

    YourDropdown.Selected.Value ="Dev Total"

     

    Or 

    YourDropdown.Selected.Value <>"Solicitado"

  • Verified answer
    rauseol Profile Picture
    165 on at

    That is the easy way I will test it my friend.

     

    Right now I did it like this and is working fine is large but is working.

     

    (Botton) (Display Mode) i put the formula: If(var;DisplayMode.Edit;DisplayMode.Disabled)

     

    And in DataCardValue3 OnChange I put this formula:


    If(DataCardValue3.Selected.Value = "Iniciado";
    UpdateContext({var: true});
    UpdateContext({var: false});

    }

    And(If(DataCardValue3.Selected.Value = "Dev. Parcial";
    UpdateContext({var: true});
    UpdateContext({var: false});

     

    And(If(DataCardValue3.Selected.Value = "Terminado";
    UpdateContext({var: true});
    UpdateContext({var: false});

     

    And(If(DataCardValue3.Selected.Value = "Dev. Total";
    UpdateContext({var: true});
    UpdateContext({var: false})
    )))))))

     

    Thanks you so much i will try your recommendations .. 

     

    Regards

    Rauseo

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard