This extension writes in words a numeric value; useful for special commerce-oriented pages.
- Optionally connects with an entry box and automatically handles the proper events to update the value in words. - Manually updates the value calling the instance via events. - Options to allow zero values and how to display decimal values. - Custom texts that are integrated with the value in words. - Alignments supported. - Fonts, colors and other styles for the text.
Currently supported languages:
- English (United Kingdom, United States). - Spanish (Spain/Latin America, Puerto Rico). - Hebrew. - German. - Dutch. - French (France, Belgium, Switzerland). - Italian. - Portuguese (Portugal, Brazil).
1. It is assumed that a value source is present in your page. 2. Drag and drop an instance that matches the desired language. 3. Optionally setup some parameters and leave them as default. 4. Optionally enter the edit box name that it is the value source or call an instance via events from other objects or methods. 5. Preview or publish.
How to connect with an entry box? 1. Drag and drop an edit box. 2. Drag and drop a language instance. 3. Enter the edit box name via the instance properties dialog box.
How to manually call the instance? 1. From any process you can call the language instance as NumberToWordsInstance.display(number); 2. Replace 'NumberToWordsInstance' with the actual instance name. 3. Use the 'number' parameter to specify the value to display in words.