web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps and Address ...
Power Apps
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
I have the same question (0)
  • Suggested answer
    ShaileshP Profile Picture
    31 on at
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard