Class \Prado\Web\UI\TForm
TForm class
TForm displays an HTML form. Besides regular body content, it displays hidden fields, javascript blocks and files that are registered through TClientScriptManager.
A TForm is required for a page that needs postback. Each page can contain at most one TForm. If multiple HTML forms are needed, please use regular HTML form tags for those forms that post to different URLs.
Class hierarchy
- \Prado\Web\UI\TForm
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.0
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
setDefaultButton(string $value) : mixed
Sets a button to be default one in a form.
A default button will be clicked if a user presses 'Enter' key within the form. |
public
|
|
public
|
|
protected
|