cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rachelkettle
Level: Powered On

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

Yes via the admin portal

Highlighted
GrischkePro
Level: Powered On

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


@rachelkettle wrote:

Yes via the admin portal


Ok, I did the same.

GrischkePro
Level: Powered On

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


@Anonymous wrote:

Hello,

 

Agreed. There seems to many posts about SUBMITFORM having issues. I did all variants of rebuilding. Recreated the sql connector. Re-imported from the TEST environment and so on. Actually, this app works fine in the TEST and DEV environments. I did figure out a work around though. I changed the SUBMITFORM to PATCH. 

 

I did a test with Patch and it works, but I'm not sure if I want to go down this route without breaking something else 🤬🤬🤬 I don't have time for this and testing 🤬🤬🤬

 

Patch(
    List1,
    Defaults(List1),
    {Title: DataCardValue4.Text}
);
Navigate(
    BrowseScreen1,
    ScreenTransition.Fade
)

I'll wait to see what M$ are going to do about this @$%^🤬🤬🤬🤬🤬🤬🤬

rachelkettle
Level: Powered On

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

Ah thanks, although i also don't fancy going down the route of changing the submit forms to patches either...i have found that if the button sits within the form itself it produces the error and doesn't perform an update, but if the button sits outside the form - with the exact same submitform(formname) command it works...!

 

I can use this as a workaround for developing but will need the buttons to sit within the forms when deploying Live so i hope this is fixed asap!! 

GrischkePro
Level: Powered On

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


@rachelkettle wrote:

Ah thanks, although i also don't fancy going down the route of changing the submit forms to patches either...i have found that if the button sits within the form itself it produces the error and doesn't perform an update, but if the button sits outside the form - with the exact same submitform(formname) command it works...!

 

I can use this as a workaround for developing but will need the buttons to sit within the forms when deploying Live so i hope this is fixed asap!! 


Hence why the original Tick button in the original QuickActionBar worked for me - this area is outside of the form. The 🤬

 

Next thing they'll break is the Patch function 🥶🥶🥶

seraph787
Level: Powered On

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

I just ran into this issue as well.  Same error message and everything.  It happened randomly after saving my app.

MoodyMas
Level: Powered On

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

Same here! Please let me know if you have any news regarding this!
DanielaHo
Level: Powered On

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

Reverting to the previous version ending in .14 solved it for me. 

seraph787
Level: Powered On

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

That fix may work for editing it, but every time you publish the app, it updates to the newest version.

Also... that doesn't work for me even in the development studio.  I'm not sure what the difference is for you and me.

DanielaHo
Level: Powered On

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

Yes agreed. 

 

Also I found it only fixed the problems for PowerApps apps - it does not solve the problem for PowerApps forms which also display the error even when being in version ending .14!

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,984)