Conditions Option for Customfield visibility #18164
Closed
Zombie-Toad
started this conversation in
General
Replies: 1 comment 1 reply
-
Netbox does not support altering the data input form (whether for custom fields or normal fields) based on attributes of the object. Sorry. You would have to write a Plugin. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I created some custom field for different device roles (hardware and software version for switches, driver name for printer etc.). To reduce the clutter of input fields in the device form I asked myself if it would be possible to add some kind of filter.
I don't know what Django is capable of so I need to ask.
Would it be possible to add a conditions field to customfields, just like the conditions field in "Event Rules"?
As a result the input field only shows up if the condition matches the assigned role.
If there could be a way to do this, I would create a feature request.
If there is any other idea to achieve this (besides custom scripts, I already created some to create devices), please let me know.
Beta Was this translation helpful? Give feedback.
All reactions