action |
No |
The action of the form. If not defined, uses the current page being viewed. |
method |
No |
Method of the form, defaults to POST. |
enctype |
No |
The enctype of the form, defaults to "application/x-www-form-urlencoded". |
file_upload |
No |
For simplicity and if set to 1, the enctype will be set to "multipart/form-data". |
id |
No |
Unique id of the form, defaults to "frmMain". |
Example HTML
<s:form>
Example Output
`<form action="/tags/form" method="POST" enctype="application/x-www-form-urlencoded" id="frmMain">`