Talk generally about the form, behaviors, etc. Mention theme-specific notes as well.
Attribute |
Type |
Required |
Default |
Theme |
Description |
---|---|---|---|---|---|
action |
String |
Yes |
N/A |
simple |
... |
namespace |
String |
No |
The current namespace |
simple |
... |
validate |
boolean |
No |
false |
xhtml |
... |
form
Attribute |
Type |
Required |
Default |
Description |
---|---|---|---|---|
id |
string |
FALSE |
action attribute |
|
name |
string |
FALSE |
action attribute |
|
action |
string |
FALSE |
|
|
target |
string |
FALSE |
|
|
enctype |
string |
FALSE |
|
|
method |
string |
FALSE |
|
|
namespace |
string |
FALSE |
global namespace: """ |
|
onsubmit |
string |
FALSE |
|
|
validate |
boolean |
FALSE |
|
|
name |
string |
TRUE |
|
|
value |
string |
FALSE |
|
|
required |
boolean |
FALSE |
|
|
disabled |
boolean |
FALSE |
|
|
theme |
string |
FALSE |
|
|
template |
string |
FALSE |
|
|
cssClass |
string |
FALSE |
|
|
cssStyle |
string |
FALSE |
|
|
label |
string |
FALSE |
|
|
labelposition |
string |
FALSE |
|
|
tabindex |
string |
FALSE |
|
|
onclick |
string |
FALSE |
|
|
ondblclick |
string |
FALSE |
|
|
onmousedown |
string |
FALSE |
|
|
onmouseup |
string |
FALSE |
|
|
onmouseover |
string |
FALSE |
|
|
onmousemove |
string |
FALSE |
|
|
onmouseout |
string |
FALSE |
|
|
onfocus |
string |
FALSE |
|
|
onblur |
string |
FALSE |
|
|
onkeypress |
string |
FALSE |
|
|
onkeydown |
string |
FALSE |
|
|
onselect |
string |
FALSE |
|
|
onchange |
string |
FALSE |
|
|
The remote form allows the form to be submitted without the page being refreshed. The results from the form can be inserted into any HTML element on the page.
Attributes
To ajax enable the form, the ww:form component must be used, specifying a theme="ajax". Additionally, the ww:submit component must be used.