1,813
การแก้ไข
| บรรทัดที่ 422: | บรรทัดที่ 422: | ||
==== Checkboxes & Toggles ==== | ==== Checkboxes & Toggles ==== | ||
[[ไฟล์:Form SelectField fat.png|300px|thumb|center|alt=Checkboxes and toggles created via 'render_check' and 'render_toggle'.|Checkboxes and toggles created via 'render_check' and 'render_toggle'.]] | |||
'''DO NOT''' rely on argument order farther than ''form'' and ''blank'', '''ALWAYS PROVIDE''' argument keywords. | |||
'''<syntaxhighlight lang="javascript"> | |||
render_select(form, blank, | |||
field_modal=false, field_tab=false, | |||
label_width="105px", headless=false, | |||
hidden=false, tabindex=false, | |||
pad_bottom="default", | |||
// Arguments exclusive to 'render_select': | |||
force_fat=false, force_slim=false, slim_pb=2) | |||
// Arguments available only when calling 'render_select_slim' directly: | |||
bunch_pb=2) | |||
</syntaxhighlight>''' | |||
{| style="margin-left:20px;" | |||
|- style="vertical-align:top;" | |||
| style="width:120px;" | '''Parameters''' || ''(See descriptions under [[#String & Text Area Fields]] sub-section)'' | |||
|} | |||
==== Radios ==== | ==== Radios ==== | ||