XModPro

Possible bug in <xmod:format> tag</xmod:format>

Mike Palmer Mike Palmer posted Jun 22, 2019
Active Jun 22 · Viewed 1529 times

I have an issue when using the &lt;xmod:Format /&gt; element for two fields in a template. It's formatting the first, but not showing any data for the second. They are both Numeric fields. The source is thus:

&lt;td&gt;£&lt;xmod:Format Type="Numeric" Value='[[PropCurrentPrice]]' Pattern="c" /&gt;&lt;/td&gt;

&lt;td&gt;£&lt;xmod:Format Type="Numeric" Value='[[PropOriginalPrice]]' Pattern="c" /&gt;&lt;/td&gt;

Also, it's not outputting a currency symbol as expected despite me also using OutputCulture="en-GB" as an option, so I have added that into the template manually.

Any help greatly appreciated.

Mike.

0 Replies

Loading replies...