Actions
Feature #21678
openMark required fields conditionally based on other fields
Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Description
"Puppet Environment" is a required field for provisioning new hosts. However, the form does not flag this field as being required. Other required fields have an "*" next to them to denote them as being required.
As it turned out, the puppet environment is required field only when a puppet master is selected on the host.
It would be nice to have a possibility to switch required flag based on the rest of the form. The similar behavior can be found at subnet form and I support other places too. Since we don't want to extend already complicate JS code for host form, I suppose this will be possible after we refactor that or reimplement our form helpers.
Actions