Showing posts from September, 2021

JavaScript Code to Validate Phone Number Input Based on Country (How to use libphonenumber in few steps)

While I was working on a submit form built using HubSpot marketing forms and templates. The client requested to validate the phone number field based on the selected country code. For instance, if user choose France for country code then there should be 9 digits in the phone number, so the number of digits and format should be validated according to the selected country code.  Here is a screenshot of the form: I tried many solutions but the best approach was to use an online API that can validate the pho…

Solution Architecture with .NET: Learn How to Become a Solution Architect

How to Become a Solutions Architect Learn about the responsibilities of a .NET solution architect and explore solution architecture principles, DevOps solutions, and design techniques and standards with hands-on examples of design patterns. Key Features Find out what are the essential personality traits and responsibilities of a solution architect Become well-versed with architecture principles and modern design patterns with hands-on examples Design modern web solutions and make the most …

SPFx solution with multiple WebParts and extensions doesn't display the extensions after deployment

I have created an SPFx solution and started with the 'HelloWorld' WebPart, then I decided to add an extension to the same solution in order to manage the header of the pages by injecting some external CSS and JS libraries such as jQuery and Bootstrap. Here are the commands that I used: PowerShell commands to create the solution md sp-solution-hub cd sp-solution-hub yo @microsoft/sharepoint Then 'gulp serve' to see the new WebPart in debug mode. After that, I …

Load More
That is All