Forms control for adding phone number filed for Nette Framework
The best way to install ipub/form-phone is using Composer:
$ composer require ipub/form-phone
After that you have to register extension in config.neon.
extensions:
formPhone: IPub\FormPhone\DI\FormPhoneExtension
And you also need to include static files into your page:
<script src="{$basePath}/libs/ipub.formPhone.js"></script>
</body>
note: You have to upload static files from client-site folder to your project.
Learn how to extend your forms with phone field in documentation. For JavaScript part of this extension please checkout JS documentation
Homepage http://www.ipublikuj.eu and repository http://github.com/iPublikuj/form-phone.