Forms cant finish save Process (Error: Uncaught (in promise) Value does not fall within the expected range)
Hi
I have had a sudden issue with a solution deployed on multiple tenants for a couple of days now.
When I Fill out a form and try to save it, It somehow does not proceed and save the new entry.
The console (f12) returns the following error: "Uncaught (in promise) Value does not fall within the expected range.", which does not help me.
Strange is that in some other forms, the saving process work just fine.
Any ideas or hints?
Best regards and I wish you a nice weekend.
-
I believe in having found the problem. I had a Field with a rather complicated Validation Function (Checking an individual's permission). In the first part of the function, I checked if the field was empty, but I did it with === instead of ==
if ([[PERSON]]==""){
return true;
}It looks like this solved the problem.
:)1 -
Hi Andreas Teixeira
using === instead of == can definitely lead to different results as the === strictly checks for the data type as well. I personally have made better experiences with the == version. The differences are very well explained here: https://www.c-sharpcorner.com/article/difference-between-and-in-javascript2/
BR Matthias
0
Please sign in to leave a comment.
Comments
2 comments