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 / Button is not clickabl...
Power Apps
Unanswered

Button is not clickable in a View Form

(0) ShareShare
ReportReport
Posted on by 49

I want to add a clickable button in a ViewForm (FormMode.View).

But when I add a button into the form, the button becomes unclickable.

I want to keep the button inside the form. Is there any way to enable this button?

 

This form is a ViewForm:

1.png

I added a button which DisplayMode is DisplayMode.Edit, but it is not clickable.

2.png

Categories:
I have the same question (0)
  • zmorek Profile Picture
    3,272 on at

    You can instead have the form in Edit mode, then individually set the rest of the datacards to View, if that's the functionality you need.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @403 

    I checked and the form mode seems to take precedence over everything when the form is in View mode.  However, when the form is in Edit mode, the card can be set to View and that will take precedence over the Parent.DisplayMode.  If that is the case, then the button will have to be outside the form when it is in View mode. 

  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @403 ,

     

    It seems that the button you added is in the original data card.

    Maybe you could try adding Button in Custom Card and try it again, it works on my side.

    vyujincuimsft_0-1652083427869.png

    vyujincuimsft_1-1652083683079.png

    vyujincuimsft_3-1652083733655.png

     

     

    Best Regards,
    Charlie Choi

  • 403 Profile Picture
    49 on at

    @v-yujincui-msft

    Hello,

    It doesn't work for me.

    Screenshot 2022-05-09 091317.png

    Is there something more to do to make it work?

    Plus is there any way to make the button clickable in an original data card?

    FYI I'm using PowerApps for Teams.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @v-yujincui-msft 

    It didn't work for me either. @403 Why do you need the button inside the form and what is its function?

  • 403 Profile Picture
    49 on at

    Hello @Drrickryp ,

     

    The function of the button can be anything related to data in a specific data card.

     

    It can be, for example, navigating to a screen which presents more description about what "Categories" field is, running a flow send an email notification to a person in "Created by" field, or anything like these.

     

    Screenshot 2022-05-09 155335.png

    I want to place these kinds of buttons near to (inside) the data cards so that users can get clear idea which data they are interacting with.

     

    I'm using a simple form as an example in the screenshot, but the actual forms I'm working with have much more data cards having lots of conditional formulas in Visible and DisplayMode (already!).

     

    I was wondering if there is any convenient way to achieve this in a ViewForm, without making things too complicated.

  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @403 ,

     

    @Drrickryp Sorry my bad, i used Display form not Edit form.

     

    Maybe you could consider not putting the Button inside the Form or the Data card, but just putting it at that position on the screen, so that the Display Mode of the Button will not be affected by the Form.

    vyujincuimsft_0-1652149821312.png

     

     

    Best Regards,
    Charlie Choi

     

  • 403 Profile Picture
    49 on at

    Hello @v-yujincui-msft ,

     

    What if the form is longer than the screen height so that it needs to be scrolled?

  • sirbasku Profile Picture
    4 on at

    I have same request.  A very common scenario is to show a read-only form such as a View form and be able to click on a foreign key field to navigate to that record related by foreign key. 

     

    For example, an invoice form, in view mode not in edit mode, showing data about an already posted invoice.  On the read-only invoice form users may expect to be able to click on say, the customer field (or a little button next to it) and navigate to the customer record.  Or a button next to phone number fields to call them; too many possibilities to list them all.  Making a form open in edit mode just to manually set the view mode on all the fields except these buttons is ludicrous.  In addition to being a complete waste of time coding that, it opens the form up to inadvertently saving data to the database, just to be able to click on a button near the field the button reacts with.  For example, on this very forum screen I can click a reply button next to read-only comments by other users, this is a very common need.

  • kjmorgan89 Profile Picture
    5 on at

    zmorek, this worked for me, thank you. I set the overall form "Default mode" to "Edit." I then set the individual data card drop-down box to "DisplayMode.View" 💪

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

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 893

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 482

Last 30 days Overall leaderboard