alleyinteractive / alleyinteractive/wordpress-fieldmanager
jQuery Validator issues with repeaters
- Vorherrschende Sprache
- PHP
- Sterne
- 563
- Forks
- 99
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hi
I've noticed when using repeaters ('limit' = 0) that there are validation issues when using the **'validation_rules'** functionality. For example if you have a single field that is repeater (a text field) and apply basic validation like **'required'** and **minlength** , the validation wont work on new items.
For example if you add an initial item the validation will work, however if you add subsequent items the validation doesn't trigger. See the image below where the first item works fine but subsequent ones do not

It's super inconsistent. After reloading the page, sometimes the validation for the first item wont work, but it will for the second item. See for example the image below where the validation for the **first** item is now lost

Here is how I'm setting up this repeater

I'm using version 1.2.5 which is an older version, is this something that's been fixed in newer versions?
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.