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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps and Address ...
Power Apps
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard