Handbook
ButtonThe Button input is a simple button that can be clicked, usually to trigger javascript actions. It does not submit the form or anything else by itself. Here's what it looks like:
[form]
[button 'CLICK ME']
[form]
[button 'CLICK ME']
[form]
The first parameter is used as the label for the button. It is also the value for the input parameter. By default the name will be the same as the input type: "button". If you want to give the button another name, just add a name parameter.
You can see from the following example that this button does nothing without some kind of additional programming. The form is not reset or submitted.
[form]
[text test 'Some Value...']
[button 'CLICK HERE']
[command msg 'Form Submitted!']
[form]
[text test 'Some Value...']
[button 'CLICK HERE']
[command msg 'Form Submitted!']
[form]
See the tutorial on javascript for possible uses of this button.
Additional Parameters
There are no useful BoltWire parameters for this input type.By default the following html parameters are allowed:
name, value, class, id, style, disabled