Smart Phone Addon for Ninja Forms

Description

Plugin for entering and validating international telephone numbers. It adds a (searchable) country dropdown to any input, detects the user’s country, displays a relevant placeholder number, formats the number as you type, and provides comprehensive validation methods.

The Smart Phone Addon for Ninja Forms uses third part integration called intlTelInput.

For the best experience, including addressing any issues or finding previous versions, we highly recommend visiting our GitHub Releases page.
There, you can easily browse and download any version you require.

This plugin is completely free.

Screenshots

  • Screenshot 1. Front-end example. Default field (without changes).
  • Screenshot 2. Ninja Forms Admin Dashboard. Where field is located.
  • Screenshot 3. Front-end example. Modificated field by changing options from admin dashboard.
  • Screenshot 4. Some options that exist in the ‘Restrictions’ section of the field.

Installation

This section describes how to install the plugin and get it working.

  1. Install using the WordPress built-in Plugin installer, or Extract the zip file and drop the contents in the wp-content/plugins/ directory of your WordPress installation.
  2. Activate ‘Ninja Forms‘ plugin through the ‘Plugins’ menu in WordPress.
  3. Activate ‘Smart Phone Addon for Ninja Forms‘ plugin through the ‘Plugins’ menu in WordPress.
  4. Go to Ninja Forms > Add New.
  5. Press the ‘Add new field‘ button.
  6. Select ‘Smart Phone‘ field.
  7. Change the settings in the Restrictions section to suit your needs (play with Storybook).

FAQ

Do I need to pay?

No. This plugin is completely free.

Having trouble or is your site not working correctly after activating our plugin?

Please report the issue on our GitHub or feel free to reach out directly via email at yaroslav.borodii@jdi.company

Compatibility with Ninja Forms addons

  • Ninja Forms:⠀⠀⠀⠀⠀⠀⠀OK | v3.8.0
  • NF Conditional Logic:⠀ OK | v3.1
  • NF Multi-Part Forms: ⠀ OK | v3.0.26
  • NF Layout and Styles: ⠀OK | v3.0.29

Reviews

February 10, 2024 1 reply
It’s a good idea, but it works every other time. I used version 1.1.0, which did not work stably. Version 1.2.2 does not work at all. It does not define the country and does not load the flag. I suffered for a long time. As a result, I deleted it. I use the usual phone form.
Read all 2 reviews

Contributors & Developers

“Smart Phone Addon for Ninja Forms” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.3.1

What’s Changed

  • fix: Separate dial code is renamed by intltelinput by @yaroslav-borodii in #39

1.3.0

What’s Changed

  • Create dependabot.yml by @yaroslav-borodii in https://github.com/JDI-company/Smart-Phone-for-Ninja-Forms/pull/24
  • Bump gulp-autoprefixer from 8.0.0 to 9.0.0 by @dependabot in https://github.com/JDI-company/Smart-Phone-for-Ninja-Forms/pull/25
  • feat: WordPress version checker by @yaroslav-borodii in https://github.com/JDI-company/Smart-Phone-for-Ninja-Forms/pull/29
  • fix: Couldn’t get the repository readme by @yaroslav-borodii in https://github.com/JDI-company/Smart-Phone-for-Ninja-Forms/pull/30
  • Add Field Validation by @BrassyDANYL in https://github.com/JDI-company/Smart-Phone-for-Ninja-Forms/pull/26
  • Bump browser-sync from 2.29.3 to 3.0.2 by @dependabot in https://github.com/JDI-company/Smart-Phone-for-Ninja-Forms/pull/27
  • Bump intl-tel-input from 18.5.3 to 19.5.6 by @dependabot in https://github.com/JDI-company/Smart-Phone-for-Ninja-Forms/pull/37
  • fix: Remove unusable mutation observer package
  • Add .gitattributes file for clean Release archive
  • fix: Major intltelinput update breaks SPN validation functionallity
  • fix: gulp-concat bumped CommonJS support

1.2.2

What’s Changed

  • Check plugin for compatibility with PHP version 8.2 & WordPress 6.3.2
  • Bug Fix: CSS fix by @haet in https://github.com/JDI-company/Smart-Phone-for-Ninja-Forms/pull/21

1.2.1

What’s Changed

  • Bug Fix: NF Form Multistep plugin doesn’t work with SPN
  • Bug Fix: NF Form Conditional logic plugin doesn’t work with SPN
  • Bug Fix: NF Form doesn’t send if SPN input is empty
  • Bug Fix: NF Form throws error if Separate Dial Code wasn’t chosen
  • Bug Fix: SPN throws “out of stack” in Elementor & Default Country
  • 13-spn-install-intltelinput-with-npm-not-static-files by @roman1923, @yaroslav-borodii in https://github.com/JDI-company/Smart-Phone-for-Ninja-Forms/pull/14
  • Restricted plugin run (only for Ninja forms, wp-ajax, User Frontend)
  • Code Refactoring
  • PHP Code Beautifier
  • IntlTelInput version update to the 18.2.1

1.2.0

User Notes

Dev Notes

  • Add JavaScript Standard
  • Code Refactoring
  • Add package-lock.json to .gitignore
  • Update jQuery dependency for Frontend (for now it uses WordPress jQuery style)
  • Move JavaScript files to footer on Frontend

1.1.1

1.1.0

1.0.3

  • Fixed Incorrect Stable Tag
  • Removed unnecessary options in package.json

1.0.2

  • Removed JavaScript plugin compression-webpack-plugin. It compressed versions of assets to serve them with Content-Encoding (gz).
  • Removed .gz files by WordPress requirement.
  • Changed webpack mode from development to production.
  • Improved README.txt.
  • Fixed package.json (license, urls, version)
  • Changed plugin URI to github repository.

1.0.1

  • Changed plugin name by WordPress requirement

1.0

  • Init Ninja Forms Smart Phone Addon