ipub/form-phone

Forms control for adding phone filed for Nette Framework

v1.1.4 2019-05-24 18:54 UTC

README

Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Latest Stable Version Composer Downloads License

Forms control for adding phone number filed for Nette Framework

Installation

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.

Documentation

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.