Widget:FormFieldsDisplayToggle

From Open Energy Information

This widget will toggle the display of wiki form fields in the without removing the values from the form submission.

Parameters include:

  • id - the html ID of the element containing the form fields (required)
  • text - the text of the toggle link (optional, default: Show optional fields)
  • alttext - alternate text of the toggle link (optional, default: Hide optional fields)

For example:

{{#Widget:FormFieldsDisplayToggle|id=fields|text=Show expanded company info fields}}