Automatic formatting of a text field in a configured format and unit
Enable JavaScript to see the sample code
/* Position currency on the right */
.XTextField[name=tfCurrency] {
text-align: right;
}