forms no longer close on submit

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Post Reply
davidnarramore
Posts: 73
Joined: Wed Jan 21, 2015

09 Jun 2021

My forms stopped closing on submit yesterday. My SharePoint 2013 list gets updates and additions, but the form doesn't close and is causing confusion. I have the following JavaScript code in the form.

fd.onsubmit(function (){
$("#aspnetForm").attr('action',location.pathname+'?Source=/bu/tools/xx/xxxxxx/xxxxxxxx.aspx');
return true;
});

User avatar
Nikita Kurguzov
Posts: 867
Joined: Mon Jul 03, 2017

09 Jun 2021

Dear David,
Do the forms close without the code? Also, are there any errors in console when you save?
Cheers

davidnarramore
Posts: 73
Joined: Wed Jan 21, 2015

10 Jun 2021

Forms close when I click cancel. Forms seem to continue to run until it times out. The resulting correlation ID and log entry doesn't help.

User avatar
Nikita Kurguzov
Posts: 867
Joined: Mon Jul 03, 2017

10 Jun 2021

Dear David,
What? Do the forms close on save if you remove ALL JavaScript or not?
Cheers

davidnarramore
Posts: 73
Joined: Wed Jan 21, 2015

10 Jun 2021

It appears the javascript validations I use work, but the jquery doesn't. I see this warning in the dev console, but I don't know if it has anything to do with my issue.

A parser-blocking, cross site (i.e. different eTLD+1) script, http://ajax.googleapis.com/ajax/libs/jq ... ery.min.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
(anonymous) @ myconnect.xcenda.net/:674

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests