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 Pages / How to add validation ...
Power Pages
Answered

How to add validation on registration page

(0) ShareShare
ReportReport
Posted on by 150

Hi everyone,

 

Does anybody know how to add a validation to check if the email has a valid format for example it must have @ sign following with .com etc.

 

bssienes_0-1691684125935.png

 

Categories:
I have the same question (0)
  • Verified answer
    Lucas001 Profile Picture
    2,575 Super User 2026 Season 1 on at

    Hi @bssienes,

     

    if I remember correctly there already is some validation set up.

    But you can add some more validation for sure.

     

    You need to create a content snippet Account/Register/PageCopy the correct spelling is important.

    Set it to HTML and write you code in the HTML.

     

    <script>
    $(document).ready(function(){
    
    //Your code here
    
    });
    </script>

     

    You can add as much validation as you want.

    If you want to display some hints etc. you can try using the :after element (Sometimes it's working sometimes not, couldn't figure out yet when it does and when not) or you can use the jQuery .inserAfter() Method to add some text directly below the input field which has a unique id or a css selector.

     



    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 41

#2
11manish Profile Picture

11manish 28

#2
sannavajjala87 Profile Picture

sannavajjala87 28 Super User 2026 Season 1

Last 30 days Overall leaderboard