123 Posts
EclipseMedia
5 years ago
4
Topic

Since I upgraded to the latest version. I can not submit a form (that is set to SAVE and REDIRECT)

Console says this


JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:542 [Show/hide message details.] TypeError: t.submit is not a functioncck.core-3.16.1.min.js:3:7096

[Show/hide message details.] TypeError: t.submit is not a functioncck.core-3.16.1.min.js:3:7096
JCck.Core.submitForm https://www.thewebsiteaddress.com/media/cck/js/cck.core-3.16.1.min.js:3:7096 onclick https://www.

thewebsiteaddress.com/sponsor-a-child-now/form/sponsor_form:1:1

Please help

Get a VIP membership
123 Posts
EclipseMedia
5 years ago
0
Level 1

I tried restoring at version 3.16.0. Also backed PHP version from 7.1 to 5.6 and still gets the error. Its all around the

t.submit is not a function error.

123 Posts
EclipseMedia
5 years ago
2
Level 1

To further my research. I restore an older working version. and discovered that the non working one has a missing action"" in the form or at least not properly declared

not working
<form action="/chaliceca/component/cck/" autocomplete="off" enctype="multipart/form-data" method="post" id="seblod_form" name="seblod_form">


working
<form enctype="multipart/form-data" action="/chalicetest/sponsor-a-child/sponsor-a-child-now" method="post" id="seblod_form_f5011" name="seblod_form_f5011"><div id="cck1r">

4229 Posts
Kadministrator
5 years ago
1
Level 2

Hi,

probably your upgrade was not complete or you have some 3rd party extension installed that breaks the javascript needed for form to work. Try updating again.

123 Posts
EclipseMedia
5 years ago
0
Level 3

Thank you

Get a Book for SEBLOD