×
This forum has been locked. Please submit new Feature Requests on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Required in a dependent field
Pedro
New Member
Posts: 12
pred 8 rokmi 4 týždnami #1440
od Pedro
Required in a dependent field bolo vytvorené Pedro
HI there, if I set a field as required and it's depending on other field, the validation should only be done when the dependency occurs, currently it makes the field required if the dependency doesn't occur.
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Andres Maeso
Platinum Member
Posts: 338
pred 8 rokmi 4 týždnami #1441
od Andres Maeso
Andrés Maeso
Customer relations manager at Joomla Component Creator.
Táto e-mailová adresa je chránená pred spamovacími robotmi. Na jej zobrazenie potrebujete mať nainštalovaný JavaScript.
Odpoveď od Andres Maeso na tému Required in a dependent field
Hi Pedro
The way we see it, it's wrong to make a dependency with a required field. A way to avoid this behavior would be to give a default value to the depending field, something like zero, "non selected", "empty", etc...
The way we see it, it's wrong to make a dependency with a required field. A way to avoid this behavior would be to give a default value to the depending field, something like zero, "non selected", "empty", etc...
Andrés Maeso
Customer relations manager at Joomla Component Creator.
Táto e-mailová adresa je chránená pred spamovacími robotmi. Na jej zobrazenie potrebujete mať nainštalovaný JavaScript.
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Čas vytvorenia stránky: 0.054 sekúnd