The Toolkit for Online Communities
18813 Community Members, 0 members online, 2191 visitors today
Log In Register
OpenACS Home : ACS API Browser : template::widget::currency

template::widget::currency (public)

 template::widget::currency element_reference tag_attributes [ mode ]
Defined in packages/acs-templating/tcl/currency-procs.tcl

Render a currency widget. By default, the currency widget takes the form $ddddd.dd, i.e. US dollars and cents. You can optionally pass along a format for different currency.

element_reference - Reference variable to the form element
tag_attributes - HTML attributes to add to the tag
mode (defaults to "edit") - If edit, the rendered widget allows input, otherwise the values are passed along as hidden input HTML tags
Form HTML for widget
[ show source ]
Show another procedure: