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

Question

Question

Form Designer: field not flagging an error when value entered is less than 0

asked on September 18, 2022

I have a number field that I want to flag when a negative value is entered. I tested the Min/Max Number range feature in both the Classic Designer and Form Designer and it only works when using classic designer.

 

In Form Designer I tried a combination of configurations including:

  • using a range (0 - 10) - the test form will flag if the value is over 10 but not if it's less than 0
  • setting a default value of 0 for the field (no flags for negative values)

 

In all configurations, the form does not flag/show an error message when a negative value is entered.

 

What am I missing here?

 

Examples of classic vs form designer:

 

Classic designer set-up

 

Flags for negative value:

 

Form designer set-up

 

 

 

 

0 0

Answer

SELECTED ANSWER
replied on September 18, 2022

It is a bug for the new form designer when the minimum number or maximum number is 0. We will fix it in the next release of Forms. Can you set the minimum number to -0.01  as a workaround?

1 0
replied on September 19, 2022

Yes, that seems to work. Thank you!

0 0

Replies

replied on January 9, 2023

This bug has been fixed with Forms 11 Update 3.

  • There will be validation error when value entered for field is less than zero and the maximum/minimum value configured is zero. (395802)

You can see other changes of Forms 11 Update 3 from  https://support.laserfiche.com/kb/1014413/list-of-changes-for-laserfiche-forms-11-update-3 and get Forms 11 Update 3 from Laserfiche 11 package  https://support.laserfiche.com/kb/1014263/software-versions-and-fixes-included-in-the-laserfiche-11-download-package

 

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

Sign in to reply to this post.