Announcements
Hello,
I have a question regarding Business Rules, I am trying to avoid submitting the same data many times, so I am trying to set a business rule to validate if the email field on the form is already exist on the table or not. is there any way to achieve that.
my form is on power Pages portal.
Hi @AreejAlAbri ,
You should be able to utilize a Filter back to the table before you submit.
// Query for existing email that matches ClearCollect(EmailCollection, Filter(Contact, email_address = <your text value of email field on form>)); If(IsEmpty(EmailCollection),<execute your patch details here>,Notify("The email address already exists",NotificationType.Error));
Thank you for the help.
but where to place this code please?
@dpoggemann is asking about Power Pages, not a Canvas App.
@AreejAlAbri This is the link to the Power Pages forum https://powerusers.microsoft.com/t5/Get-Help-with-Power-Pages/ct-p/mpp_gethelp.
There isn't a straight forward way to do this with Power Pages. You also need to consider if your form would also allow a bad actor to farm email addresses (e.g. use a bot to throw in random emails and record those that don't error, then send deceptive emails to your userbase). Generally speaking, for checking records various options exist
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 542 Most Valuable Professional
Haque 206
Kalathiya 201 Super User 2026 Season 1