Advancedform & ModalBox
Moderator: Tata
Advancedform & ModalBox
Both plugins are excellent. Testing various plugins combination, I came to a form (advancedform) placed in a modal box (by opensolutions).
Everything works fine except of date picker in the form. Until the page with the form is called directly, the date picker works fine. When the form is called in the modal box, the date picker is out of function; also the dp icon is gone.
In Modalbox: http://rancdubina.cmsimple.sk/?Kontakt - orange button Direct call: http://rancdubina.cmsimple.sk/?preorder
Everything works fine except of date picker in the form. Until the page with the form is called directly, the date picker works fine. When the form is called in the modal box, the date picker is out of function; also the dp icon is gone.
In Modalbox: http://rancdubina.cmsimple.sk/?Kontakt - orange button Direct call: http://rancdubina.cmsimple.sk/?preorder
You do not have the required permissions to view the files attached to this post.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Advancedform & ModalBox
Ich denke, ein Formular in der Modalbox ist sehr ungünstig.
Fehlermeldungen und auch der erfolgreiche Versand werden nicht direkt angezeigt.
Es findet nach dem Klick auf "Absenden" ein Seitenneuaufbau statt - und das Modal ist geschlossen.
Fehlermeldungen und auch der erfolgreiche Versand werden nicht direkt angezeigt.
Es findet nach dem Klick auf "Absenden" ein Seitenneuaufbau statt - und das Modal ist geschlossen.
Re: Advancedform & ModalBox
Other Issue:
You do not have the required permissions to view the files attached to this post.
Re: Advancedform & ModalBox
That might be the reason why the date picker doesn't work.
Christoph M. Becker – Plugins for CMSimple_XH
Re: Advancedform & ModalBox
I have the first occurrence of the script removed from the template - no change.
I changed the jQuerry configuration - no change.
I changed the jQuerry configuration - no change.
Code: Select all
$plugin_cf['jquery']['version_core']="1.12.4";
$plugin_cf['jquery']['version_ui']="1.12.1";
$plugin_cf['jquery']['version_migrate']="jquery-migrate-1.4.1.min.js";
$plugin_cf['jquery']['load_migrate']="true";
$plugin_cf['jquery']['autoload']="true";
$plugin_cf['jquery']['autoload_libraries']="jQuery";
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Advancedform & ModalBox
Too many errors for a quick analysis.
.
.
You do not have the required permissions to view the files attached to this post.
Re: Advancedform & ModalBox
Hm, I have made some changes in config, some scripts removed, but some errors are still there and I can't find where are they from.
IMMIGRATEJQMIGRATE: Migrate is installed, version 3.0.0 | jquery-migrate-3.0.0.min.js:2:440
TypeError: document.body is null[Learn More] | rancdubina.cmsimple.sk:562:9
TypeError: menu is null[Learn More] | onepage.js:27:46
TypeError: document.getElementById(...) is null[Learn More] | rancdubina.cmsimple.sk:132:4
SyntaxError: expected expression, got ')'[Learn More] | void();:1:5
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Advancedform & ModalBox
First clear this:
(Firefox Sourcecode Screenshot)
<?php
.
You do not have the required permissions to view the files attached to this post.
Last edited by frase on Sun Jun 03, 2018 2:35 pm, edited 1 time in total.
Re: Advancedform & ModalBox
That's a bug in Onepage_XH. The plugin assumes that #onepage_menu exists, which is not necessarily the case. Quick-Fix: replace this line with:
Code: Select all
if (!(menu = document.getElementById("onepage_menu"))) {return};
Christoph M. Becker – Plugins for CMSimple_XH
Re: Advancedform & ModalBox
This is the newsletter-plugin.TypeError: document.getElementById(...) is null[Learn More] | rancdubina.cmsimple.sk:132:4
Code: Select all
function getFocus() {
document.getElementById("subscribermail").focus();
}
The same up to line 185 ff
function newsletter_ValidEmail(form){