Widget:ShowRefFieldsButton

From Open Energy Information

This widget provides supporting functionality to forms that want to capture references for specific values. Specifically, this widget creates the Show Reference Fields button, which toggles the display of reference fields in a form that uses them.


Parameters

None.


Dependencies
  • A form using the wikiForm class.
  • Template:ReferenceForValue - Generates the reference fields that this widget controls the display of.


Usage
{{#Widget:RefForValuesHelper}}


Example

For an example of this widget in use, see the sample form.