Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 35 lines (29 sloc) 0.989 kB
924f324 @docelic * Small updates to existing pages
docelic authored
1 __NAME__ purpose
2 display a no/yes option
3 __END__
4
5 __NAME__ synopsis
6 __END__
7
8 __NAME__ description
9 The &widget-__FILENAME__; widget creates a simple "Yes or No" option.
10 This widget is exactly the same as &widget-yesno; with the return
11 values for Yes and No inverted.
12 </para><para>
13 The actual widget titles, "<literal>Yes</literal>" and
14 "<literal>No</literal>", are &glos-locale;-aware so adding their
15 translated versions to the locale &glos-database; will be enough to
16 have them adjusted to visitors' language settings.
17 </para><para>
18 A negative answer will return value <literal>1</literal> (&glos-true;) to the application.<sbr/>
19 A positive answer will return a blank (&glos-false;) value to the application.
20 __END__
21
22 __NAME__ notes
23 See very similar widget &widget-yesno; for additional examples.
24 __END__
25
26 __NAME__ online: 'Yes or No' widget, rendered as a dropdown list
27 <programlisting>
824ec4e @docelic * 'yesno radio' -> type=yesno variant=radio
docelic authored
28 [display name=example type=__FILENAME__]
924f324 @docelic * Small updates to existing pages
docelic authored
29 </programlisting>
30 __END__
31
32 __NAME__ see also
33 yesno
34 __END__
Something went wrong with that request. Please try again.