Phone Verification country mapping
PhoneIt is sometimes quite useful to be able to map a select option value found in the HTML to the required country code format that the Addressfinder Phone Widget expects. This code example will show you how to map HTML values using the countryMappings widget option.
See the Pen Phone Verification country mapping by Addressfinder (@addressfinder) on CodePen.
Related code examples
-
Customised styles for phone verification - Demonstrates how to adjust the text and border colours of the phone verification messages.#Phone #Styling
-
HubSpot form integrated with Addressfinder's phone verification widget - This is an example of Addressfinder's phone widget that has been integrated into a HubSpot form.#Hubspot #Phone
-
Limiting phone validation to specific countries - This widget has been configured to only allow phone numbers form a select number of countries and all others will be rejected.#International #Phone
-
Multiple widgets on one form - The example shows the use of address, email and phone validation services all on the one page.#Email #Multiple Widgets #Phone
-
Phone Verification Widget with custom Rules and Messaging. - The example shows the Phone verification widget customised to only allow mobile phone numbers registered in Australia. The messaging has also been customised to suit the rules.#Custom #Error Message #Phone