TCPDF::RadioButton( $name, $w, $prop = array(), $opt = array(), $onvalue = 'On', $checked = false, $x = '', $y = '', $js = false )
Creates a RadioButton field.
Description Description
Parameters Parameters
- $name
-
(Required) (string) Field name.
- $w
-
(Required) (int) Width of the radio button.
- $prop
-
(Optional) (array) Javascript field properties. Possible values are described on official Javascript for Acrobat API reference.
Default value: array()
- $opt
-
(Optional) (array) Annotation parameters. Possible values are described on official PDF32000_2008 reference.
Default value: array()
- $onvalue
-
(Optional) (string) Value to be returned if selected.
Default value: 'On'
- $checked
-
(Optional) (boolean) Define the initial state.
Default value: false
- $x
-
(Optional) (float) Abscissa of the upper-left corner of the rectangle
Default value: ''
- $y
-
(Optional) (float) Ordinate of the upper-left corner of the rectangle
Default value: ''
- $js
-
(Optional) (boolean) If true put the field using JavaScript (requires Acrobat Writer to be rendered).
Default value: false
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
4.8.000 | Introduced. |