Min value in custom field not checked

  • Leon Treff
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 10 months ago #116565 by Leon Treff
Min value in custom field not checked was created by Leon Treff
Hello,
I set up a custom field of type Number with max value 10, min value 0, step 1 and default 0.
At registration, it is possible to select a negative value, as you can see from the attached screen shot. A negative selection should not be allowed, I guess, as it is the case for the in the positive direction.

The introduction of a value greater than the max value is checked by and additional formula.
How could I extend the formula to check the introduction of a value less than the lower bound?

Sincerely,
Leon
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #116566 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Min value in custom field not checked
Min value should be reflected in this case. It is not working because of a bug in the code. I just fixed it and update download package on server

Could you please access to My Downloads menu item, re-download the package, update it to your site and check it again?

Just for your information, you can use min validator posabsolute.github.io/jQuery-Validation-Engine/#minfloat to make sure value is greater than certain value

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Leon Treff
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 10 months ago #116567 by Leon Treff
Replied by Leon Treff on topic Min value in custom field not checked
Hello,
I am sorry, but the latest update does not change anything.

Sincerely,
Leon

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #116568 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Min value in custom field not checked
Could you submit a support ticket sending us super admin account and link to that page so that I can take a quick look?

Tuan

Please Log in or Create an account to join the conversation.

  • Leon Treff
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 10 months ago #116569 by Leon Treff
Replied by Leon Treff on topic Min value in custom field not checked
Hello again,

your modification does work now. I guess, I had a cache trouble.
When introducing a negative number, my custom error message is displayed on typing NEXT.

Sorry for this trouble.

Thank you very much for your quick reply.

Sincerely,
Leon

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #116573 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Min value in custom field not checked
Great. Happy to hear that and thanks for confirming

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc