1 vote

Appstract Contact Number

This adds a contact (phone) number custom property editor that allows to select a country code a list of countries and shows a green checkbox if the number is known to be of correct for the country.

 

Usage

Auto-generated model classes (using the Umbraco Models Builder) will automatically generate properties using the `Appstract.UmbracoContactNumber.ContactNumber` class.

Umbraco will deserialize the value into this class automatically, when using `this.Value<Appstract.UmbracoContactNumber.ContactNumber>("propertyAlias")`.

 

The `ContactNumber` class gives access to the raw information put into the property editor, but also a property that formats the input.

Example: If the country code has been set to `Denmark (+45)` and the number to `98765432`, the `FormattedContactNumber` property will return `+45 98765432`.

Screenshots

Package owner

Appstract

Appstract

Appstract has 77 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.7.x (untested)
Version 8.6.x (untested)
Version 8.5.x (100%)
Version 8.4.x (untested)
Version 8.3.x (untested)
Version 8.2.x (untested)
Version 8.1.x (100%)
Version 8.0.x (0%)
Version 7.15.x (untested)
Version 7.14.x (untested)
Version 7.13.x (untested)
Version 7.12.x (untested)
Version 7.11.x (untested)
Version 7.10.x (untested)
Version 7.9.x (untested)
Version 7.8.x (untested)
Version 7.7.x (untested)
Version 7.6.x (untested)
Version 7.5.x (untested)
Version 7.4.x (untested)
Version 7.3.x (untested)
Version 7.2.x (untested)
Version 7.1.x (untested)
Version 7.0.x (untested)
Version 6.2.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Appstract
  • Created: 10/03/2020
  • Current version 1.0.22
  • .NET version 4.7.2
  • License MIT
  • Downloads on Our: 16

External resources