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

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
Regular Visitor

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.

Anonymous
Not applicable

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,352)