cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bart_vermeersch
Regular Visitor

Sharepoint custom form with unique values

I've created a custom form using powerapps based on a SharePoint list.

 

When submitting the form, mandatory fields are automatically validated, an error appears when submitting.

 

However, this doesn't work for columns requiring unique values. No error appears, and the form stays open. Is this a know "defect"?

 

Is it possible to implement this validation manually?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Hi @bart_vermeersch

 

I believe its possible. My suggestion is to use lookup for the values inside the field to find match inside your source list. And if it finds matching record, than perform action. E.g. disable the submit button and inform you via sum pop-up on page.

 

Btw. I have tried to replicate that issue and if the value was not unique the submittion wasn't completed so it failed, however its not highlited the issue.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @bart_vermeersch

 

I believe its possible. My suggestion is to use lookup for the values inside the field to find match inside your source list. And if it finds matching record, than perform action. E.g. disable the submit button and inform you via sum pop-up on page.

 

Btw. I have tried to replicate that issue and if the value was not unique the submittion wasn't completed so it failed, however its not highlited the issue.

jaina
Resolver II
Resolver II

hello @bart_vermeersch , can you share how you resolve this issue? 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (4,632)