Element.addField
Element addField(string label, string name, string type = "text", FormFieldOptions fieldOptions = FormFieldOptions.none)Adds a form field to this element, normally a <input> but type can also be "textarea".
This is fairly html specific and the label uses my style. I recommend you view the source before you use it to better understand what it does. Tags: HTML, HTML5
Element addField(Element label, string name, string type = "text", FormFieldOptions fieldOptions = FormFieldOptions.none)ditto
Element addField(string label, string name, FormFieldOptions fieldOptions)ditto
Element addField(string label, string name, string[string] options, FormFieldOptions fieldOptions = FormFieldOptions.none)ditto