cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GrischkePro
Advocate III
Advocate III

SubmitForm function can only work on a form. Wrong kind of control input is given...

All of a sudden, the Submit button stops working, producing this error:

 

paerror.png

 

It was working fine and I changed NOTHING in my EditForm.

 

This is a custom button. The original tick in the upper right corner with exactly the same formula/settings works just fine.

 

Any idea?

55 REPLIES 55
anabananei
Resolver I
Resolver I

Even the ViewForm function is not working! Yep! Fun times ahead!

Swapnil_Lad
New Member

We are also facing same issue after version upgrade 3.19062.18 from yesterday. Both SubmitForm() and ViewForm() not working anymore.. SubmitForm() works if I put it ouside of form as someone already mentioned in previous comments.

 

Any idea when this will get resolved? Any update from Microsoft to resolve this bug??

My company feel crazy today! Keep watting from Microsoft.

alaineniala
Advocate I
Advocate I

Same here..... how do you raise a ticket? I hope Microsoft is aware of this issue and fixing it now......

I have a fix and you may want to implement permanently if Microsoft decide you can no longer submit forms from buttons within the Form.

 

1. Make a copy of all the buttons you currently have within your Data Cards in your form that are not working and paste a copy of them outside the Form control. Make the Visible property of these buttons false so they cannot be seen.

 

2. Change the OnSelect property of the buttons that are still inside your Data Card and not working, to have a formula like this: Select(NameOfButtonYouCopiedOutsideOfForm)

That's it, your Forms will now submit.

If you have any questions, let me know.

 

it is a solution should M$ decide to remove this functionality, thanks 👍🏼

Version 3.19062.18 is not even listed in their changelog, so how are we supposed to know if it’s intentional 🤷🏻‍♂️
https://docs.microsoft.com/en-us/business-applications-release-notes/powerplatform/released-versions...
Plus, most of the notes are like:
“No specific fixes or improvements have been publicly disclosed as a part of this released version”.
SamWallis
Advocate II
Advocate II

We are experiencing this in multiple environments, spent half the afternoon trying to troubleshoot..

 

Has anyone received acknowledgement of the bug from MS?

No acknowledgement yet Smiley Sad my ticket just states open with no further update... 

 

Thanks @dtjm thats really helpful...

Anonymous
Not applicable

I got the same error with my form. Error says "Reset form only works on a form. Wrong kind of control is given as input to the function." THis happens when i place formula in the onselect properties of image.

Same issue here!  Also opened prior apps that were running fine and they are having the same issue.  

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,362)