×
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 1 månad sedan #1440
av Pedro
Required in a dependent field skapades 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.
Be Logga in eller Skapa ett konto ansluta till konversationen.
Andres Maeso
Platinum Member
Posts: 338
8 år 1 månad sedan #1441
av Andres Maeso
Andrés Maeso
Customer relations manager at Joomla Component Creator.
Den här e-postadressen skyddas mot spambots. Du måste tillåta JavaScript för att se den.
Svar från Andres Maeso i ämnet 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.
Den här e-postadressen skyddas mot spambots. Du måste tillåta JavaScript för att se den.
Be Logga in eller Skapa ett konto ansluta till konversationen.
Sidan laddades på: 0.048 sekunder