\BootstrapModalFormAction
The action buttons are <input type="submit"> as well as <button> tags.
Upon clicking the button below will redirect the user to doAction under the current controller.
<code>
new FormAction (
// doAction has to be a defined controller member
$action = "doAction",
$title = "Submit button"
)
</code>
Synopsis
class BootstrapModalFormAction
extends FormAction
{
- // members
- protected $target;
- public boolean $useButtonTag = false;
- protected $buttonContent = NULL;
- // methods
- public void __construct()
- public void setTarget()
- public void getTarget()
Hierarchy
Extends
- FormAction
Members
protected
- $target
public
- $useButtonTag
—
boolean
Enables the use of <button> instead of <input> in {@link Field()} - for more customizeable styling.
Methods
public
- __construct() — Create a new action button.
- getTarget()
- setTarget()