Widget:MHK-Device-Name

From Open Energy Information

This widget will automatically set the Name field to the device name, or {{SUBPAGENAME}}, for MHK Instrumentation & Sensor Database devices.

The Name field is restricted on these forms and can only be edited by administrators. The Name field is set to the device {{SUBPAGENAME}} by default. This widget is used to update the Name field if/when the device page is moved. Moving the page is the only way non-admin users can edit the device name, and should also be the way that admin users update the device name.

This widget was created to resolve an issue with the Widget:DefaultFormField, because that widget will only set empty fields.

Dependencies

This widget should only be used with the following forms: Form:MHK_Sensor Form:MHK_Instrument