The form works well in test mode, but does not work on the site. What to do? http://na-veka.spb.ru/obratnaya-svyaz.html
Uncaught TypeError: Cannot read property 'forms' of undefined
at Object.$.G2.forms.ready (g2.forms.js:505)
at HTMLFormElement.<anonymous> (obratnaya-svyaz.html:68)
at HTMLBodyElement.dispatch (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at HTMLBodyElement.v.handle (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at Object.trigger (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at Object.a.event.trigger (jquery-migrate.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at HTMLFormElement.<anonymous> (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at Function.each (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at a.fn.init.each (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at a.fn.init.trigger (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
Uncaught TypeError: Cannot read property 'forms' of undefined
at Object.$.G2.forms.ready (g2.forms.js:505)
at HTMLFormElement.<anonymous> (obratnaya-svyaz.html:68)
at HTMLBodyElement.dispatch (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at HTMLBodyElement.v.handle (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at Object.trigger (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at Object.a.event.trigger (jquery-migrate.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at HTMLFormElement.<anonymous> (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at Function.each (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at a.fn.init.each (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
at a.fn.init.trigger (jquery.min.js?fea57cab5794fbeb1fc3142878a6df11:2)
Hi pro-alena,
I think that is because you have a submit button that is not inside <form> tags
Bob
I think that is because you have a submit button that is not inside <form> tags
Bob
And how to make the form call button does not fall out of the form?
Yeah I don't see how that could be the problem in v6.
What PHP version are you using?
Can you open the form directly? As in click the preview button, and then remove the /administrator from the url.
What PHP version are you using?
Can you open the form directly? As in click the preview button, and then remove the /administrator from the url.
PHP7, Can't open the form directly
Take a form backup and upload it here if you can
the backup form[file=http://na-veka.spb.ru/index.php?option=com_chronoforms6&cont=manager&chronoform=porazmeram01]the backup form[/file]
the backup form
http://na-veka.spb.ru/porazmeram01_29_Nov_2018_12_18_18.cf6bak
When you say it "does not work", what exactly do you mean? Because from looking at it it does open but for some weird reason you have your Display Section action just showing section Two, which only has a button.
EDIT: Ignore that
EDIT: Ignore that
I think it might be your gallery you have just under the form - it has form elements and inputs and is probably conflicting. Try removing it.
http://na-veka.spb.ru/politika-konfidentsialnosti/informatsiya-o-kukakh.html
Made a page without a gallery. Not help.
Made a page without a gallery. Not help.
Midnight. Think more tomorrow but the form works on my site no problems
Thanks
Perhaps some plugin is not updated... Counters do not affect the display of the page.
Hi pro-alena,
You are getting the JavaScript error because your Submit button is not inside <form> tags. See the second line of the HTML below.
You are getting the JavaScript error because your Submit button is not inside <form> tags. See the second line of the HTML below.
<div class="semanticui-body G2-joomla chronoforms index">Bob
<button data-events="[]" class="ui button green" type="submit" name="button9" id="button9" value="">Заказать</button>
<div class="ui form">
</div>
<div class="ui fullscreen modal form-display-section1">
<i class="close icon red"></i>
<div class="header">Окно 01</div>
<div class="scrolling content" style="width:auto;">
<form action="http://na-veka.spb.ru/politika-konfidentsialnosti/informatsiya-o-kukakh.html?chronoform=porazmeram01&event=submit" method="post" name="display-section1" id="display-section1" data-id="display-section1" class="ui form G2-form" data-valloc="inline" enctype="multipart/form-data" data-dtask="send/self" data-result="replace/self" data-subanimation="1">
<p>Просто оставьте свои контактные данные, и мы позвоним Вам в ближайшее время </p>
<div class="two fields" id="area_fields_13">
<div class="field ">
<label for="name">Ваше имя:</label>
<input data-events="[]" placeholder="Введите Ваше имя" name="name" id="name" value="" type="text">
</div>
<div class="field ">
<label for="phone_id">Ваш телефон:</label>
<input data-validationrules="{"identifier":"phone_id-main","rules":[{"type":"required","prompt":"+9(999)999-9999"}]}" data-validate="phone_id-main" data-events="[]" data-inputmask="'mask': '+9(999)999-9999'" placeholder="+9(999)999-9999" name="phone" id="phone_id" value="" type="text">
</div>
<div class="field ">
<label for="email">Ваш e-mail:</label>
<input data-validationrules="{"identifier":"email-main","optional":true,"rules":[{"type":"email","prompt":"\u0412\u0430\u0448 e-mail:"}]}" data-validate="email-main" data-events="[]" placeholder="" name="email" id="email" value="" type="text">
</div>
</div>
<p>Нажимая кнопку ОТПРАВИТЬ Вы соглашаетесь на обработку персональных данных в соответствии с <a href="/index.php/politika-konfidentsialnosti" target="_blanc">Политикой конфиденциальности</a>
</p>
<button data-events="[]" class="ui button blue" type="submit" name="button6" id="button6" value="">Отправить запрос</button> </form>
</div>
</div>
</div>
But it works on mine Bob. He's got it set as a modal form which is why you're seeing that button outside the form tag.
Has to be something on your server or on the page you're on all I could suggest is either disabling plugins or trying a different theme maybe
Has to be something on your server or on the page you're on all I could suggest is either disabling plugins or trying a different theme maybe
This topic is locked and no more replies can be posted.
