Buy Now
Sign in

The form works well in test mode, but does not work on the site. What to do?

P
pro-alena@yandex.ru 9
November 27 2018 #381803
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)
GreyHead 63.3
November 28 2018 #381837
Hi pro-alena,
I think that is because you have a submit button that is not inside <form> tags
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
P
pro-alena@yandex.ru 9
November 28 2018 #381843
And how to make the form call button does not fall out of the form?
healyhatman 5.2
November 28 2018 #381849
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.
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

You can now copy+paste code from forums
P
pro-alena@yandex.ru 9
November 29 2018 #381853
PHP7, Can't open the form directly
healyhatman 5.2
November 29 2018 #381855
Take a form backup and upload it here if you can
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

You can now copy+paste code from forums
P
pro-alena@yandex.ru 9
November 29 2018 #381856
the backup form
P
pro-alena@yandex.ru 9
November 29 2018 #381857
the backup form
P
pro-alena@yandex.ru 9
November 29 2018 #381858
http://na-veka.spb.ru/porazmeram01_29_Nov_2018_12_18_18.cf6bak
healyhatman 5.2
November 29 2018 #381861
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
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

You can now copy+paste code from forums
healyhatman 5.2
November 29 2018 #381862
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.
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

You can now copy+paste code from forums
P
pro-alena@yandex.ru 9
November 29 2018 #381869
http://na-veka.spb.ru/politika-konfidentsialnosti/informatsiya-o-kukakh.html
Made a page without a gallery. Not help.
healyhatman 5.2
November 29 2018 #381870
Midnight. Think more tomorrow but the form works on my site no problems
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

You can now copy+paste code from forums
P
pro-alena@yandex.ru 9
November 29 2018 #381871
Thanks
P
pro-alena@yandex.ru 9
November 29 2018 #381872
Perhaps some plugin is not updated... Counters do not affect the display of the page.
GreyHead 63.3
November 29 2018 #381874
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.
<div class="semanticui-body G2-joomla chronoforms  index">
<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&amp;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="{&quot;identifier&quot;:&quot;phone_id-main&quot;,&quot;rules&quot;:[{&quot;type&quot;:&quot;required&quot;,&quot;prompt&quot;:&quot;+9(999)999-9999&quot;}
  • }" 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="{&quot;identifier&quot;:&quot;email-main&quot;,&quot;optional&quot;:true,&quot;rules&quot;:[{&quot;type&quot;:&quot;email&quot;,&quot;prompt&quot;:&quot;\u0412\u0430\u0448 e-mail:&quot;}
  • }" 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>
    Bob
    ChronoForms technical support
    If you'd like to buy me a coffee or two, thank you very much
    healyhatman 5.2
    November 29 2018 #381890
    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
    Web developer at SkySpider.com.au
    I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

    You can now copy+paste code from forums