jmYesNo
The jmYesNo function is used to create a "Yes and No" form element in a Jamroom Control Panel form.
form.tpl element name: form_yesno
bool
jmYesNo
(string $text, string $name, string $help, [string $selected = 'yes'], [string $b_txt = false], [string $b_url = false])
-
string
$text: Title for form field - i.e. the string to the left in the Control Panel
-
string
$name: Form field "name" value
-
string
$help: Help Text for the form field
-
string
$selected: Which radio button should be checked when the form loads - "yes" or "no"
-
string
$b_txt: Additional action button text
-
string
$b_url: Additional action button URL
|