DECIMAL SEPARATOR FOR NUMERIC PROPERTIES
PostPosted:Sat May 18, 2013 6:49 pm
I have created a custom property group with a field intended to contain numeric values (with decimal like euro amounts).
After register and restarted application, I failed to add values on this custom group because of this decimal value.
The error message is "Decimal field required - (000.00) "
Tested with comma and point as decimal separators.
Reproduced on the demo site using properties group (Digitalización certificada) with users in Spanish and English language.
Can be this values be configured to be right justified when adding values.. (they are left justified as text).
Kind regards
Jose Menendez
My custom properties group file
My Installation:
Windows 7 (64 bits) - español
OpenKM 6.2.4 (build 8074)
MySQL (5.5.27)
Chrome Versión 26.0.1410.64 m
After register and restarted application, I failed to add values on this custom group because of this decimal value.
The error message is "Decimal field required - (000.00) "
Tested with comma and point as decimal separators.
Reproduced on the demo site using properties group (Digitalización certificada) with users in Spanish and English language.
Can be this values be configured to be right justified when adding values.. (they are left justified as text).
Kind regards
Jose Menendez
My custom properties group file
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.0//EN"
"http://www.openkm.com/dtd/property-groups-2.0.dtd">
<property-groups>
<property-group label="Registro Facturas" name="okg:invoices">
<input label="Proveedor" type="text" name="okp:invoices.supplier" />
<input label="Factura Nº" type="text" name="okp:invoices.number" />
<input label="Factura Fecha" type="date" name="okp:invoices.date" />
<input label="Factura Importe" type="text" name="okp:invoices.amount" >
<validator type="dec"/>
</input>
</property-group>
</property-groups>My Installation:
Windows 7 (64 bits) - español
OpenKM 6.2.4 (build 8074)
MySQL (5.5.27)
Chrome Versión 26.0.1410.64 m