cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
anabananei Helper III
Helper III

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

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

Swapnil_Lad
New Member

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

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

TuaniFactory
New Member

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

My company feel crazy today! Keep watting from Microsoft.

alaineniala
Frequent Visitor

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

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

dtjm Advocate I
Advocate I

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

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.

 

GrischkePro Advocate III
Advocate III

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

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

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

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

 

Has anyone received acknowledgement of the bug from MS?

rachelkettle Advocate I
Advocate I

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

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

 

Thanks @dtjm thats really helpful...

T_T
Frequent Visitor

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

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.

netmarie Advocate I
Advocate I

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

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

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (1,186)