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

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


@ADobin wrote:

Thanks for all of the reports on this issue! We've released a fix and this should be resolved now.


Good.

It would be nice to know that you were actually working on it.

 

I can confirm it works fine now on version: 3.19062.20.👍🏼

netmarie Advocate I
Advocate I

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

Another related issue?  I confirmed Saturday that the SubmitForm issue was resolved only to bump heads with another new issue.  The save is successful but OnSuccess event is not appear to perform all included steps.  It is supposed to Refresh the data source (from SQL) and ClearCollect to update the collection, but that is not happening.  It was working properly before the issue with SubmitForm.   

seraph787 Advocate II
Advocate II

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


@ADobin wrote:

Thanks for all of the reports on this issue! We've released a fix and this should be resolved now.


Knew you'd find a fix for this!

I can confirm from my end that everything is working as expected again.

 

Thank you!

-M

Er-PiTeam
Frequent Visitor

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

Hi @netmarie , you shouldn't have to refresh your collection and follow it with clearcollect.

You should be able to just clearcollect. But since you mentioned you are using a form, after you submit any form, you have access to the latest updated record.

Form.LastSubmit.

Just update your collection with this or use it however you'd like! But its a less expensive operation then refreshing your data source. Good luck!
netmarie Advocate I
Advocate I

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

Yes I know all that, thanks though.  My form is connected straight to a SQL table and populated based on the selected row of a gallery, which is linked to a collection.  The collection is built from a SQL view which joins multiple tables.  When the form is saved, it is easiest to refresh the SQL view and rebuild the collection.  This has been working for months but stopped after the SubmitForm issue was resolved.  I went ahead and patched the collection instead, which is fine for that screen but multiple other screens need to be updated as well, and those Refreshes aren't working properly either.  A Microsoft technician witnessed the issue yesterday and is investigating.    

Community Support
Community Support

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

Hi @GrischkePro ,

Has your problem been solved?

If you do not have any other problem, please mark one answer as your issue's solution.

Thanks!

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

Top Solution Authors
Top Kudoed Authors
Users online (6,524)