<submit-button> add a submit button in a form
- name
- submit-button
- xml namespace
- http://moyaproject.com/forms
Add a submit button to a form.
attributes
name |
purpose |
type |
required? |
default |
choices |
block |
Block level? |
text |
No |
|
|
class |
Extra class(es) |
text |
No |
|
|
clicked |
Value when button is clicked |
text |
No |
|
|
fieldname |
Field name |
text |
No |
"submit-button" |
|
text |
Text on button |
text |
No |
"Submit" |
|
visual |
Button style |
text |
No |
"primary" |
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
adapt |
Function to adapt field before applying |
function |
No |
value |
|
disabled |
Disabled control? |
boolean |
No |
no |
|
dst |
Destination object index |
text |
No |
|
|
help |
Help text |
text |
No |
|
|
hidelabel |
Hide label? |
boolean |
No |
no |
|
if |
Conditional expression |
expression |
No |
yes |
|
initial |
Initial value |
expression |
No |
None |
|
inlinehelp |
Help text |
text |
No |
|
|
label |
Label |
text |
No |
|
|
maxlength |
Maximum length |
text |
No |
|
|
name |
Field name |
text |
No |
|
|
process |
Function to process src in to a string |
function |
No |
str:value |
|
required |
Is a value required for this field? |
boolean |
No |
|
|
requiredcheck |
Check for required fields? |
boolean |
No |
|
|
requiredmsg |
Field error text for required fields |
text |
No |
"This field is required" |
|
src |
Source object index |
text |
No |
|
|
style |
Override style |
text |
No |
|
|
template |
Template |
template path |
No |
|
|
upload |
Contains a file upload field? |
boolean |
No |
no |
|
visible |
Visible? |
boolean |
No |
yes |
|