Home > WebEOC > Admin Guide > Board Building Tips > Format Fields for Currency

Format Fields for Currency

Table of contents
No headers

Formatting a field that appears on a board so that it accepts money values is as simple and hiding the <eocfield>. From there, you can use a <value-of> select to re-format the value of the <eocfield>.

For example:

<span style="display:none;"><eocfield name="quote_value"></eocfield></span> 
<value-of select="format-number(@quote_value, '$#,##0.00')"></value-of>

In this example, the field is named quote_value; you will want to change this to the <eocfield> name of your field.

You must to post a comment.
Last modified

Tags

Classifications

This page has no classifications.