Umbraco.Community.Forms.Intl_Tel_Input 6.0.0-beta0003

This is a prerelease version of Umbraco.Community.Forms.Intl_Tel_Input.
dotnet add package Umbraco.Community.Forms.Intl_Tel_Input --version 6.0.0-beta0003
                    
NuGet\Install-Package Umbraco.Community.Forms.Intl_Tel_Input -Version 6.0.0-beta0003
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Umbraco.Community.Forms.Intl_Tel_Input" Version="6.0.0-beta0003" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Umbraco.Community.Forms.Intl_Tel_Input" Version="6.0.0-beta0003" />
                    
Directory.Packages.props
<PackageReference Include="Umbraco.Community.Forms.Intl_Tel_Input" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Umbraco.Community.Forms.Intl_Tel_Input --version 6.0.0-beta0003
                    
#r "nuget: Umbraco.Community.Forms.Intl_Tel_Input, 6.0.0-beta0003"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Umbraco.Community.Forms.Intl_Tel_Input&version=6.0.0-beta0003&prerelease
                    
Install Umbraco.Community.Forms.Intl_Tel_Input as a Cake Addin
#tool nuget:?package=Umbraco.Community.Forms.Intl_Tel_Input&version=6.0.0-beta0003&prerelease
                    
Install Umbraco.Community.Forms.Intl_Tel_Input as a Cake Tool

Umbraco.Community.Forms.Intl-Tel-Input

Add the Intl-Tel-Input text field to your Umbraco Forms

Getting started

This package is supported on Umbraco 15+ and Umbraco Forms 15+.

Installation

Umbraco.Community.Forms.Intl-Tel-Input is available from NuGet or as a manual download directly from GitHub.

dotnet add package Umbraco.Community.Forms.Intl-Tel-Input

Getting Started

If you wish to auto detect the users country, you will need to get an API key from ipinfo.io.

You will need to add the following setting to your appsettings.json

  "IntlTelInput": {
    "IPinfoKey": "YOUR API KEY"
  }

You must add the following if statement to the end of your Umbraco Forms theme Render.cshtml file:

    @if (Model.CurrentPage.JavascriptCommands.Any())
    {
        <script>
            document.addEventListener("DOMContentLoaded", function() {
                @foreach (var javascriptCommand in Model.CurrentPage.JavascriptCommands)
                {
                    @Html.Raw(javascriptCommand)
                }
            });
        </script>
    }

It should be placed directly after the following lines:

    @* Form Scripts *@
    @if (Model.RenderScriptFiles)
    {
        @* Render the scripts.cshtml file to included standard conditionals and validation logic *@
        await Html.RenderPartialAsync(formScriptView);
    }

The following settings are available on the field type, and are set on each form within the Umbraco Forms Backoffice.

  • Validation message
  • Placeholder
  • Initial country
  • Enable / Disable auto country detection
  • Restrict drop down list options to certain countries
  • Specify which countries should be boosted and appear at the top of the drop down list

Contribution guidelines

To raise a new bug, create an issue on the GitHub repository. To fix a bug or add new features, fork the repository and send a pull request with your changes. Feel free to add ideas to the repository's issues list if you would to discuss anything related to the package.

License

Copyright © 2025 UmbHost Limited.

Licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.0-beta0003 123 5/5/2025
6.0.0-beta0002 116 5/5/2025
6.0.0-beta0001 122 5/4/2025