From Open Energy Information

Revision as of 22:39, 12 May 2015 by Jweers (talk | contribs) (Created widget, ported from development)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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}}