×
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
8 år 4 uker dager siden #1440
av Pedro
Required in a dependent field opprettet av 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.
Vennligst Logg inn eller Registrer konto for å bli med i samtalen.
Andres Maeso
Platinum Member
Posts: 338
8 år 4 uker dager siden #1441
av Andres Maeso
Andrés Maeso
Customer relations manager at Joomla Component Creator.
Denne e-postadressen er beskyttet mot programmer som samler e-postadresser. Du må aktivere javaskript for å kunne se den.
Besvart av Andres Maeso i emne 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.
Denne e-postadressen er beskyttet mot programmer som samler e-postadresser. Du må aktivere javaskript for å kunne se den.
Vennligst Logg inn eller Registrer konto for å bli med i samtalen.
Tid til å lage siden: 0.056 sekunder