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
Helper V
Helper V

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

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

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