FormField
|
+--FileField
public class FileField
extends FormField
Field Summary | |
---|---|
mixed | The maximum length permitted. |
Fields inherited from FORMfields.fields.FormField | |
---|---|
autoPropagate, data, disableEnterHandler, displayValuesOnNewLine, editable, enabled, endingString, enterTabHandler, enterTabs, error, extraHtml, fieldBelowLabel, formError, help, hidden, htmlify, id, isData, label, labelForId, multiValues, name, required, subFieldDisplayValueSeparator, subFieldSeparator, subFieldValueSeparator, subFields, subFieldsCannotBeEmpty, trimWhitespace, validators, value, valueIsHtml |
Constructor Summary | |
---|---|
FileField(string name, string label, int required) Creates a new FileField. |
|
__construct(string name, string label, int required) Creates a new FileField. |
Method Summary | |
---|---|
string | Returns the HTML used to display the input portion of this field. |
public mixed $MAX_SIZE = 255
The maximum length permitted.
public FileField(string name, string label, int required)
Creates a new FileField.
public string getEditableFieldTag()
Returns the HTML used to display the input portion of this field.
FileField is a field for selecting a file on your local computer. Note: this field doesn't upload a file--use UploadField to upload a file. This field is only used as a base class for implementing HTML's file input type.