Skip Navigation

[Resolved] Number valdation considers .19 as invalid but 0.19 valid.

This support ticket is created 3 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Minesh 3 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#2037337

I am trying to:
Allow for proper validation of numbers less then 1
Link to a page where the issue can be seen:
It's behind membership site so can't be seen. It's any number field with validation.
I expected to see:
0.19 and .19 should both be valid (or any decimal number)
Instead, I got:
.19 is invalid

#2037639

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I checked and I confirm that I can able to reproduce the issue and I'll escalate this issue as usability issue in front of our Devs.

Please note that there is no ETA when the fix will be offered so for now I suggest you should go with value like 0.19.

#2133201

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I would like to update you that the fix will be added in future but currently there is no ETA on it.

You are welcome to close this ticket and keep eye on our block for latest release and check the changelogs for the plugin to know if the fix is added or not.