I am having difficulties as it does not redirect me to another screen when evaluating errors.
I want that when there is no error it redirects me to a screen and when there is an error it only shows me a notification:
This is the code that I have implemented in the button:
ClearCollect(
colRegisterResults;
testAPI.PostRegister(
{
email: textEmail.Text;
password: textPassword.Text
}
)
);;
If(
!IsEmpty(Errors(colRegisterResults));
Notify(
Concat(
Errors(colRegisterResults);
Column & ": " & Message
);
NotificationType.Error; Navigate(Result)
);
Navigate(Result)
)
Can someone help me here?
Thanks guys