Form by Plugin and Module doesn't work

cw cwadmin 02 Nov, 2019
Hi,
at this page we have insered the form but doesn't work correclty:

https://www.joomlalombardia.org/test-plugin
https://www.joomlalombardia.org/test-module

The form take the layout of template and the submit donesn't work

Could you to help me to resolve this issue?
regards
cw cwadmin 04 Nov, 2019
you could to chek the form at this page (set with menu item): https://joomlalombardia.org/test-menu

It's a easy form, after submit appear a confirmation message and are send a confirmation email to user and administrator of website.
Form by Plugin and Module doesn't work image 1

after submit
Form by Plugin and Module doesn't work image 2
cw cwadmin 04 Nov, 2019
You need to access at the backend?
cw cwadmin 04 Nov, 2019
Sorry, don't check this screen shot are wrong, I post a correctly now
cw cwadmin 04 Nov, 2019
Here the correct screenshots

Form by Plugin and Module doesn't work image 8

Form by Plugin and Module doesn't work image 9

Form by Plugin and Module doesn't work image 10

Form by Plugin and Module doesn't work image 11
cw cwadmin 04 Nov, 2019
I've also disable the antispam check
cw cwadmin 05 Nov, 2019
Hi,
do you have some update?
thanks!
he healyhatman 05 Nov, 2019
Sorry, been a bit busy.

If you open the developer console (press F12) are there any errors when loading the form? And if your template is messing with the layout then you'll need to edit your tempalte's CSS by adding :not(.ui) to all the entries that are impacting
cw cwadmin 06 Nov, 2019
Loading the form I get only this error:

Failed to set referrer policy: The value '' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.
cw cwadmin 07 Nov, 2019
Hi,
on load, I've added a custom code box with the instruction below, but something still doesn't work correclty:

$jdoc = \JFactory::getDocument();
$jdoc->addStyleSheet(JURI::root().'libraries/cegcore2/assets/semantic-ui/reset.inline.min.css');
$jdoc->addStyleSheet(JURI::root().'libraries/cegcore2/assets/semantic-ui/site.inline.min.css');
$jdoc->addStyleSheet(JURI::root().'libraries/cegcore2/assets/semantic-ui/semantic.min.css');
$jdoc->addStyleSheet(JURI::root().'libraries/cegcore2/assets/semantic-ui/text.css');
$jdoc->addStyleSheet(JURI::root().'libraries/cegcore2/assets/semantic-ui/fixes.semantic.css');

$jdoc->addScript(JURI::root().'libraries/cegcore2/assets/semantic-ui/semantic.min.js');
$jdoc->addScript(JURI::root().'libraries/cegcore2/assets/js/g2.js');
$jdoc->addScript(JURI::root().'libraries/cegcore2/assets/js/g2.boot.js');
$jdoc->addScript(JURI::root().'libraries/cegcore2/assets/js/g2.forms.js');
$jdoc->addScript(JURI::root().'libraries/cegcore2/assets/js/g2.actions.js');


1) I always get this error form console:

Failed to set referrer policy: The value '' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.

2) The request field doesn't have the symbol '*'

3) At the submit, the confirmation message don't appear and don't send a mail
he healyhatman 08 Nov, 2019
It shouldn't be necessary to load any of that.

That console error can be ignored.

What does your debug say?
cw cwadmin 08 Nov, 2019
It shouldn't be necessary to load any of that. --> The file aren't loaded without that instructions

Here below the debug comparasion:

Form by Plugin and Module doesn't work image 12
cw cwadmin 13 Nov, 2019
Hi do you have some update?
Regards
he healyhatman 13 Nov, 2019
I'm getting errors on the page,

VM135:405 Uncaught TypeError: a[b].target.className.indexOf is not a function
at qu.v.ni (eval at xhr.onreadystatechange (test-module?chronoform=contatti&event=submit:419), <anonymous>:405:129)

Instead of just having an event loader in your fail conditions, e.g. in your Validate Fields action, can you try putting a message AND THEN the event load?
cw cwadmin 15 Nov, 2019
Hi,
I've remove the Validate fields actions but the result is the same.

Form by Plugin and Module doesn't work image 13
cw cwadmin 19 Nov, 2019
Hi healyhatman,
do you have some update? :-)
Regards
cw cwadmin 12 Dec, 2019
Hi healyhatman,
do you have some update? :-)
Regards
he healyhatman 12 Dec, 2019
Can you get rid of all that loadJs() stuff and set the form to normal instead of "easy mode"
cw cwadmin 12 Dec, 2019
Hi healyhatman,
The module wasn't in easy mode but I activated the last advanced mode.

Unfortunately the result is the same, doesn't work correclty with plugin o module.

Form by Plugin and Module doesn't work image 14

I tell you that this ticket is open by more one month and we need to resolve this issue...

we are joomlalombardia.org association and we support you 😀
This topic is locked and no more replies can be posted.