Using custom fields in phpipam
phpipam has support for creating custom fields to be used in address, subnets, vlans, devices and users tables. This is useful when you need to add some custom data to your tables. You can set your custom fields under Administration > Custom fields.
It supports following types of data and it representations:
- varchar: normal input field
- integer: input field that must be an integer
- boolean: true/false field, that is interpreted with dropdown
- text: textarea input field, that holds bigger data than varchar
- date: adds date field, that is represented with date dropdown
- datetime: adds datetime field, that is represented with date and time dropdown
- set: set field adds dropdown options, you control options in size/length field. For example, to have dropdown with three options you set ‘site1′,’site2′,’site3′ in size/length field.
Besides setting field type there are some other variables that can be set for each:
- size / length: depends on field type this controls maximum length of input field or text, maximum size of integer, options for set field etc.
- default: adds default value if field is left blank.
- required: controls weather field is required to be filled in, if Continue reading

