Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Suggested answer

PowerApps and Address Input Validation

(0) ShareShare
ReportReport
Posted on by 3
Hi all,
 
Reasonably new to PowerApps and looking to build a form for users to input address and POC details that will move into our data warehouse. Was wondering what sort of validation PowerApps has on address details and email formats. For example, we ask users to input:
Address Line 1: Mandatory
Address Line 2: Optional
Address Line 3: Optional
Address Line 4: Mandatory
Postcocde: Must be in the same format with no spaces, e.g. SW1A2AA not SW1 2AA
Name: Can contain multiple, but names must be seperated by a comma, e.g. John Smith, Jane Smith
Email: Can contain multiple but would need to be able to ensures its a correct email format. Where multiple provided seperared with a comma. They key is ensuring the email address is a correct format.
Telephone:
 
Any advice?
 
James
  • Suggested answer
    ShaileshP Profile Picture
    31 on at
    PowerApps and Address Input Validation
    This should be very easy...
     
    For address line 1 and 4.. you can keep the "Required" property to be true...
     
    For postcode, you can use the onchange property with something similar to below... this will show message if incorrect format is used..TextInputPostcode.Text will be your postal code field.. similarly adapt the code for the Name...
     
    If(
        Len(Substitute(TextInputPostcode.Text, " ", "")) <> 7, 
        Notify("Invalid Postcode Format", NotificationType.Error), 
        TextInputPostcode.Text := Upper(Substitute(TextInputPostcode.Text, " ", ""))
    )
     
    For email you use combobox.. use office365users connector as Item property, so that user can search and select the email addresses available in your organization...other property needs to be added as well but this is high level..
     
    Please let me know if you need the information in detail... 
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1