cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Himmelblau_au
Advocate I
Advocate I

Button not "clickable" on a SharePoint List form

I've edited a SharePoint list from and have added a submit button.  The button is visible all of the time, but is only active ("clickable") when the form is in edit mode.  In view mode, the button is visible but I can't click on it.

 

I have changed the DisplayMode to Edit rather than Parent.DisplayMode expecting that to force the button to always be active, but it hasn't worked.

 

Any advice would be appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @Himmelblau_au,

Do you add the Button control within Edit form rather than outside the Edit form?

Do you custom a form for your SP list using PowerApps?

The user @ChadVKealey has faced same issue with you, please check the response within the following thread:

https://powerusers.microsoft.com/t5/Creating-Apps/Unable-to-start-Flow-from-button-in-PowerApps-cust...

If you added the Button control within the Edit form, the parent form's DisplayMode property would override the Button control's and prevent the button action from firing.

As an alternative solution, please take a try to add the Button control outside the Edit form (within the screen), and set the DisplayMode property of the Button control to DisplayMode.Edit, then try it again, check if the issue is solved.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

8 REPLIES 8
v-xida-msft
Community Support
Community Support

Hi @Himmelblau_au,

Do you add the Button control within Edit form rather than outside the Edit form?

Do you custom a form for your SP list using PowerApps?

The user @ChadVKealey has faced same issue with you, please check the response within the following thread:

https://powerusers.microsoft.com/t5/Creating-Apps/Unable-to-start-Flow-from-button-in-PowerApps-cust...

If you added the Button control within the Edit form, the parent form's DisplayMode property would override the Button control's and prevent the button action from firing.

As an alternative solution, please take a try to add the Button control outside the Edit form (within the screen), and set the DisplayMode property of the Button control to DisplayMode.Edit, then try it again, check if the issue is solved.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks (and sorry for the delayed response).  That does work, however the button now floats when form scrolls, so I'll need to work out how I can make it move with the form.  

Hey @Himmelblau_au

 

Did you find out? Would be interested to know.

Cheers


Please click Accept as Solution if my post answered your question. Like my answer? Consider giving it a Thumbs Up. Others seeking the same answers will be happy you did.

I encountered the same problem and I dealt with it by using these formulas to calculate the correct position where the button should appear over the form

X: form.X + datacard.X + J

Y: form.Y + datacard.Y + K

 

If you need to position it according to other elements, jsut throw the values in the formula like you would normally do

Edit: As of now, it seems to only work if the form isn't scrollable because elements position is fixed. I need it for a scrollable form, will try to find a solution

myvsparth
Frequent Visitor

If button is in Edit Form then it will not be clickable in View mode, so there is an work around is to put button just above edit form but out side of edit form so it will be clickable regardless of any edit form display mode state but it will be ok until the form is not scrollable if it scrollable then the button remain fix and form get scrolling so there is also work around for it to use canvas and put whole edit form and button into it and remove edit form scroll by increasing it's height more than it needed. this is how you get button clickable and also scrollable with edit form.

z.jpg

But what if i want to be able to click a button that stays with a datacard on a form in display mode?  I take it outside of the form and now it doesn't stay with the data item I want it to appear with.  Grrrrrrrrrrrrr.

teylyn1
Advocate III
Advocate III

I agree that this is annoying. The button display mode should override the parent display mode. 

 

It's all well and good but I don't even know what you mean by adding a button outside Edit mode.

I tried adding it so in the tree view (forgive me my naming convention) it appear above the SharePointForm, didn't work. I also tried to add it within a new custom Card. Same. What do you mean by adding it outside edit mode?

 

Your help is much appreciated.

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (6,508)