min/max length of numbers validation

arcteam 08 Nov, 2017
Hi, we are using chronoforms on our website created with Joomla (current version 3.82). Since the last update of Joomla the form always complains about fields with numbers in it. I made a textfield and created a validation for a Number and max/min length. As example "Postleitzahl" should have 5 digits. But this is not working anymore after updating Joomla or CF. Here is the link: https://aktionkultursozial.de/index.php/spenden
GreyHead 08 Nov, 2017
Hi arcteam,

I don't see a MaxLength rule there at all? Have you removed it?

There are quite a lot of JavaScript warnings on the page - does the form work from the View Form link?

If you want to ensure five digits then an Input Mask might well be a better way to set that up.

Bob
arcteam 08 Nov, 2017
I disabled the the max/min length validation for a quick test, but right i enabled it again for "Postleitzahl". Maybe you can this again.
GreyHead 09 Nov, 2017
Hi arcteam,

The error messages aren't very helpful but it seems to me to work correctly. I get an error if the string is more or less than five digits.

As I said before an Input Mask might be more helpful to the user.

Bob
arcteam 09 Nov, 2017
Thanks for checking again. The problem is that i get this error even when there are ecactly five digits in the described field. So the form cannot be sent even when the input is like i defined.
Max_admin 15 Nov, 2017
Hi,

There was a small glitch in the min/max validations but this has been fixed in the latest update, did you apply that ?

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
arcteam 15 Nov, 2017
1 Likes
I did change the validation method and also used an input mask at a few fields.
This was working and is after the latest update.
thank you for the feedback
This topic is locked and no more replies can be posted.