You are viewing limited content. For full access, please sign in.

Discussion

Discussion

There is a monster in the machine called Validation

posted on December 6, 2019

This thing is like a monster because:

You can't reason with it, understand it, or stop it from obstructing your submissions.

It doesn't tell you what it thinks is wrong, instead it will say something like 323.9 cannot be used as a numeric value.

I don't know where it is getting this value and why it is comparing it with a numeric type.

It covers my vision of the entire form I was submitting and gives me no option to return. When this monster gets upset it just stomps on everything.

I have validation turned off to try to prevent this thing from causing problems.

Yet it still remains.

1 0
replied on December 8, 2019

The first place I'd check/look is the CSS/Javascript tab. Temporarily remove everything there, see if it posts with no error. Anything persisting through Laserfiche's validation tells me the issue is not Laserfiche.

So, let's say that it persists even with JScript/CSS cleared. The second place I'd look is every single field's advanced tab to see if there is a rogue calculation somewhere. I'd then insist on checking every calculation using a variable.

The last place I'd check would be the field rules. There are known bugs in the current version of Laserfiche Forms where the field rules that hide required fields sometimes get ignored. It is fixed in a forthcoming version. Technically this is the last place I'd check because you have validation turned off and the field rules/required fields bug isn't meant to occur when validation is turned off.

2 0
replied on December 9, 2019

Hi Kris

This is helpful and a good guide to work around the problem. I followed this procedure on the last occurrence, it took hours to find a random field someone had put a calculation in, that was the cause.

The field itself did not display a calculation error, it was just that the monster decided it did not like the calculation, didn't tell me, and bombed the form.

I don't want to fight the monster any longer, I want to turn it off.

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.