Проблема с маской телефона

More
6 years 2 months ago #7865 by Мильфей Апартаменты
Добрый день.
установил данный модуль
в маске телефона прописываю +7 (999) 999-99-99
маска выводится как надо и заполняется
при нажатии на отправить ничего не отправляется и замечается надпись
подберите запрошенный формат

как исправить?

Please Log in to join the conversation.

More
6 years 2 months ago #7866 by Евгений Копылов
Добрый. Маска также работает ниже с проверкой RegExp

У Вас в маске и скобки и пробелы.

Можете использовать правило:

(+|7|8|9|.|(|))\d{14}

ну или похожее
The following user(s) said Thank You: Мильфей Апартаменты

Please Log in to join the conversation.

More
6 years 2 months ago #7867 by Мильфей Апартаменты

Please Log in to join the conversation.

More
5 years 4 months ago #8174 by Денис
Здравствуйте, с такой же маской +7 (999) 999-99-99 и таким регулярным выражением (+|7|8|9|.|(|))\d{14} ошибка в консоли Pattern attribute value (+|7|8|9|.|(|))\d{14} is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /(+|7|8|9|.|(|))\d{14}/: Nothing to repeat.
Как можно вылечить? Спасибо

Please Log in to join the conversation.

More
5 years 4 months ago #8175 by Евгений Копылов
Попробуйте (\+?\d[- . ( )]*){6,14}

Please Log in to join the conversation.

More
5 years 4 months ago #8176 by Денис
С маской разобрался вроде, теперь после нажатия на кнопку Отправить форма зависает и в консоли ошибка
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check xhr.spec.whatwg.org/.

Please Log in to join the conversation.

More
5 years 4 months ago #8177 by Евгений Копылов
Это не ошибка, а предупреждение браузера самого.

Пришлите ссылку на сайт

Please Log in to join the conversation.

More
5 years 4 months ago #8178 by Денис

Please Log in to join the conversation.

More
5 years 4 months ago #8179 by Евгений Копылов
Все просто - Вы нес-ко форм используете на странице и во второй поставили загружать скрипты внутрь - тем самым получилось 2 подключения. Оставьте только первое подключение (в шапке - не внутри). и все будет хорошо и будет 1 скрипт отправки.

Please Log in to join the conversation.

More
5 years 4 months ago - 5 years 4 months ago #8180 by Денис
С Новым годом, Вас! Спасибо, переключил в обеих формах тумблер Загружать скрипты в body в положение нет, все равно зависает форма.
Last edit: 5 years 4 months ago by Денис.

Please Log in to join the conversation.

More
5 years 4 months ago #8181 by Евгений Копылов
Проверьте включена ли отправка почту, и выключите отображение ошибок - они в responce:

Please Log in to join the conversation.

More
5 years 4 months ago #8186 by Денис
Добрый день, эти настройки в самой Joomla или в модуле? В Joomla включена отправка почты, отображение ошибок они же для php вроде?

Please Log in to join the conversation.

More
5 years 4 months ago #8187 by Евгений Копылов
В самой joomla. Вы можете видеть - что форма обращается к ядру Joomla к com_ajax компоненту - а там отображение ошибок включено - из-за этого форма модуля не может принять ответ и что-то сделать.

Please Log in to join the conversation.

More
5 years 4 months ago #8188 by Денис
Теперь сообщение об ошибке выскакивает)) имею ввиду после отправки сообщения

Please Log in to join the conversation.

More
5 years 4 months ago #8189 by Евгений Копылов
Пришлите все на мою почту (доступы + желательно фтп) - почта внизу: seosm.ru/

Please Log in to join the conversation.

Powered by Kunena Forum

Last from the forum

    • чет не работает
    • You may have heard about the for a while now, but you still don't dare to visit them. It is time for you to lose your fear of these prostitute websites. Take your mobile phone, and visit it now. The escorts are local prostitutes you can access for a minimum amount.
    • In Component / Yandex Market XML
    • JL Content Fields Filter в настройках полей нет та...
    •   Здравствуйте. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 отсюда с гитхаба скачал и установил на джумла версии 4.1.5 со страницы установка расширений. После установки появилась ошибка " Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found" Зашел на фтп по пути /plugins/system/ и перенес папку в /plugins сменив namespace. Дальше все по инструкции - в системе активировал плагин. В модулях включил. Захожу в созданное поле - есть стандартные вкладки, вкладки "Параметры фильтрации" нет. Что делать? >>>>>>>>>>>>>>>>>>>>> Hello. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 I downloaded version 4.1.5 from GitHub and installed it on Joomla from the extension installation page. After installation, an error occurred: "Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found." I went to ftp at /plugins/system/ and moved the link to /plugins, changing the namespace. Then everything according to the instructions - the plugin was activated in the system. It is enabled in the modules. I go to the created field - there are standard tabs, but there is no "Filter parameters" tab. What should I do?  
    • In Modules Joomline / JL Content Fields Filter
    • JL Content Fields Filter в настройках полей нет та...
    • Здравствуйте. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 отсюда с гитхаба скачал и установил на джумла версии 4.1.5 со страницы установка расширений. После установки появилась ошибка " Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found" Зашел на фтп по пути /plugins/system/ и перенес папку в /plugins сменив namespace. Дальше все по инструкции - в системе активировал плагин. В модулях включил. Захожу в созданное поле - есть стандартные вкладки, вкладки "Параметры фильтрации" нет. Что делать? >>>>>>>>>>>>>>>>>>>>> Hello. joomline.ru/rasshirenija/moduli/jlconten...=m4vw1l4vab486665406 I downloaded version 4.1.5 from GitHub and installed it on Joomla from the extension installation page. After installation, an error occurred: "Class "Joomla\Plugin\Jlcontentfieldsfilter\Extension\Jlcontentfieldsfilter" not found." I went to ftp at /plugins/system/ and moved the link to /plugins, changing the namespace. Then everything according to the instructions - the plugin was activated in the system. It is enabled in the modules. I go to the created field - there are standard tabs, but there is no "Filter parameters" tab. What should I do?
    • In Plugins Joomline / Other plugin
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.