*** SOLVED *** Something wrong with the Form

Issues related to forms.
Post Reply
mckonen
 
 
Posts: 35
Joined: Sun Mar 20, 2016 6:59 pm

*** SOLVED *** Something wrong with the Form

Post by mckonen »

Hi, Could you please check briefly my project: itpalvelu.fi, there is something wrong.. e.g. After the submit the form the error page opens always, The console shows various errors e.g this error:

[Report Only] Refused to frame 'https://www.google.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".

bootstrap.min.js:6 Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': './IT-Apu.html' is not a valid selector.
at o (bootstrap.min.js:6:858)
at bootstrap.min.js:6:51825
at Array.map (<anonymous>)
at Ye.refresh (bootstrap.min.js:6:51808)
at new Ye (bootstrap.min.js:6:51451)
at bootstrap.min.js:6:54224
at Array.forEach (<anonymous>)
at bootstrap.min.js:6:54212
at i (bootstrap.min.js:6:4846)
bootstrap.min.js:6 Uncaught TypeError: Cannot read properties of null (reading 'classList')
at Ye._activate (bootstrap.min.js:6:53404)
at Ye._process (bootstrap.min.js:6:52916)
at bootstrap.min.js:6:51433
at i (bootstrap.min.js:6:4846)
region1.google-analytics.com/g/collect?v=2&tid=G-4LLPZQRHGG&gtm=45je4cc1v9201974006za200&_p=1734355525265&gcs=G1--&gcd=13l3l3R2l5l1&npa=1&dma_cps=syphamo&dma=1&tag_exp=101925629~102067555~102067808~102081485~102198178&cid=1007868601.1734353765&ul=fi&sr=1920x1080&uaa=x86&uab=64&uafvl=Not%2520A(Brand%3B8.0.0.0%7CChromium%3B132.0.6834.32%7CMicrosoft%2520Edge%3B132.0.2957.41&uamb=0&uam=&uap=Windows&uapv=15.0.0&uaw=0&are=1&frm=0&pscdl=noapi&_s=1&sid=1734353764&sct=1&seg=1&dl=https%3A%2F%2Fitpalvelu.fi%2F&dt=IT-Palvelu%20-%20Jyv%C3%A4skyl%C3%A4%20%7C%20Etusivu%20%7C%20Yst%C3%A4v%C3%A4llist%C3%A4%20ja%20luotettavaa%20IT-Apua%20Senioreille%20Jyv%C3%A4skyl%C3%A4ss%C3%A4%20sek%C3%A4%20muut%20IT%20alan%20palvelut.&en=page_view&_ee=1&tfd=3378:1

copilot says: The error message Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': './IT-Apu.html' is not a valid selector indicates that the querySelector method is being used with an invalid selector. In this case, the selector ./IT-Apu.html is not valid because it does not conform to the CSS selector syntax. ..I don't get it :?:


Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

Is google recaptcha V3 valid anymore with the WWB 19 if not so how to set it up correctly?

br,
Sami
User avatar
Pablo
 
Posts: 23226
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Something wrong with the Form

Post by Pablo »

This error is not related to google recaptcha.

I think there is an error in your configuration. Scrollspy is enabled, but you are using external links in the menu so this does not make sense, because scrollspy is only useful for bookmarks on the same page.

Also note that I cannot see what you have done based on the published page. if you need help then please share a DEMO project.
mckonen
 
 
Posts: 35
Joined: Sun Mar 20, 2016 6:59 pm

Re: Something wrong with the Form

Post by mckonen »

Ahas ok, I have used Grids in the menu instead of bookmarks, bc thoes were availlable to choose, I ll change those, let see if this was the reason and caused the form error, if not I ll post the demo project.
mckonen
 
 
Posts: 35
Joined: Sun Mar 20, 2016 6:59 pm

Re: Something wrong with the Form

Post by mckonen »

Here*s the link for the demo index page https://www.dropbox.com/scl/fo/o83dxnfs ... 6wo26&dl=0 looks likethe problem is in form processing for some reason
User avatar
Pablo
 
Posts: 23226
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Something wrong with the Form

Post by Pablo »

When you have a problem then it's best to remove everything from the page tat is not related to the form, so you can make sure it's not caused by something else.

The form properties seem to be ok, but you webhost may have special requirement (like SMTP etc)
Also, please do not use the (deprecated) recaptcha extension. recaptcha support is built into the software.
https://www.wysiwygwebbuilder.com/forms_antispam.html
mckonen
 
 
Posts: 35
Joined: Sun Mar 20, 2016 6:59 pm

Re: Something wrong with the Form

Post by mckonen »

Works now !
I forgot that there was an other email link placed in the same layput grid, also the other links with the events (there was mentioning that those can be problematics with the form prosessing..), so by removing those solved the problem, but anyways thanks for the rapid help..
Post Reply