Hi,
When I try to perform IF to see if any records have been returned by a database query I get an error.
Query
Setup Repeat on the database query
Setup Condition to check if any results returned
Setup Set values based on IF Condition results
When I run the page I get the following error.
The only thing I can pick out of that it the highlighted message.
"Message": "Can not convert Array to Boolean."
IIS and ASP.NET environment.
Any help would be great.
Thanks.
Teodor
March 30, 2020, 3:46pm
2
Why are you repeating the query?
You can directly check with the condition step added after the query …
query_logincontrol
condition (query_logincontrol.length > 0)
2 Likes
Hi @Teodor ,
I am just trying to follow this guide.
In Part 1 of Password Reset Functionality tutorial you learned how to:
Create the request new password page
Add user email validation
Generate and send the unique password reset link to user’s email
In Part 2 we will cover the rest:
Create the password reset page
Create the server action which will update the password in the database
Let’s start with the password reset page.
We added a Form, containing two inputs for the new password. The form ID is new_password and the method is set to P…
Ray.
Teodor
March 30, 2020, 3:54pm
4
I believe the screenshot is wrong,sorry about that.
There should not be a repeat - as you can see on the next screenshots. I will change the wrong screenshot.