DojoCurrencyTextBox

The DojoCurrencyTextBox widget creates text input fields that supply numeric currency values.

Properties

value
The value of the input field
currency
The currency to be used. See ISO-4217 for list of valid currency codes. International Organization for Standardization (ISO) standards are on the following Web site: http://www.iso.org/iso/.
errorMessage
The message that is displayed when the input is not valid
width
The size of the currency text box

Example

The following example shows the code and output for the DojoCurrencyTextBox widget.


	textField DojoCurrencyTextBox{ value="$100.00",currency="USD"};	

Example of a currency input field.

Feedback