Basic generalized function for creating an input widget based on the condition of the widget being presented, the name of the widget, the function used to create it, it's label on the UI, and any additional arguments.
widgetMaker(Condition, Name, Fun, Label, Args)
Condition under which the widget is present to the user.
Name (id) of the widget created.
Function name (as character) used to create the widget.
Label presented to the user in the UI for the widget.
List of any additional arguments to be passed to the widget creating function.
HTML for the widget.