Your cart is empty!
HTML
Displays a pure HTML string.
type
-
(string) Must be equals to html.
html
-
(string) The HTML code to display.
label
-
(string) The label to display next to the field.
help
-
(string) An optional text to describe the purpose of the field.
required
-
(bool) Whether the field is mandatory or optional.
hidden
-
(bool) True to avoid displaying the label of the field.
[
'custom' => [
'type' => 'html',
'label' => 'Price',
'html' => '<div class="input-prepend currency-field">'
. '<span class="btn">$</span>'
. '<input type="number" name="fee" value="0.50" min="0" max="9999" step="any" />'
. '</div>',
]
]
Changelog
Version | Description |
---|---|
1.9 | Introduced. |
Last Update: 2023-12-29 14:15
Helpful?