Line 39: | Line 39: | ||
If you want to add a button type ( e.g. for submitting ), you can use the argument '''buttontype'''="submit" | If you want to add a button type ( e.g. for submitting ), you can use the argument '''buttontype'''="submit" | ||
− | You can also use the default | + | You can also use the default HTML button method. |
Example : | Example : |
Revision as of 21:30, 13 December 2022
Name
button
Type
input
Synopsis
How to render a simple push button
Description
Elements of type button are rendered as simple push buttons, which can be programmed to control custom functionality anywhere on a webpage as required when assigned an event handler function.
Parameters
type="button"
All other valid parameters for an input field are valid
Specific parameters.
For there exact meaning, follow the link in the Link section below
- autofocus
- autocomplete
- disabled
- form
- formaction
- formenctype
formmethod-- not supported by FlexForm- formnovalidate
- formtarget
- name
- type - in FlexForm this argument is buttontype (e.g. input type="button" buttontype="submit")
- value
Example
<input type="button">Click me</input>
Note
The FlexForm button renders a </syntaxhighlight>
Links
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button