16
Views
1
Comments
Solved
How can i check if multiple input's exists in a specific database?

I have a Sign up page where the user can only sign up if it know's the company details, that's why i wanna check if KVK number and Company password exists in my database and if not it has to send back an error message. Down bellow you see that i have 2 input fields, i have made a local variable that's linked with these input fields. 

 Now i have tried 2 methode's to solve this. One was through the aggregate, here i try to check if the data from the input field's exists in my table like this (just fake data):

After the step above i have an action that check's if the form is valid and then check's if the aggregate is empty or not:

But it seem's like i always get an empty list back, how could i solve this problem

2023-12-16 19-57-03
Sanjay Kushwah
Solution

Hi @Kemal Ozdogan,

You are missing Refresh aggregate before the GetIsAdminByKVKNumber.List.Empty check in IF node


Kind Regards,

Sanjay kushwah

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.