×
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 年 1 个月 前 #1440
由 Pedro
Required in a dependent field was created by 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.
Please 登录 或 注册一个帐号 to join the conversation.
Andres Maeso
Platinum Member
Posts: 338
8 年 1 个月 前 #1441
由 Andres Maeso
Andrés Maeso
Customer relations manager at Joomla Component Creator.
该邮件地址已受到反垃圾邮件插件保护。要显示它需要在浏览器中启用 JavaScript。
Replied by Andres Maeso on topic 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.
该邮件地址已受到反垃圾邮件插件保护。要显示它需要在浏览器中启用 JavaScript。
Please 登录 或 注册一个帐号 to join the conversation.
创建页面时间:0.061秒