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

7 REPLIES 7
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

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
Resolver I
Resolver I

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

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,428)