Default decimal separator and default date format in forms

Hi,

I’m using BonitaSoft 6.3.3 and have two problems. The customer requests localisation of decimal point (i.e. requires use comma ‘,’ decimal point in numerical fields in forms) and localisation of data format in date fields in forms and in BPM Portal. The requested date format is YYYY-MM-DD HH:MM (24 hour clock). Is is possible to achieve this by parametrisation or it requires some coding? Searching questions regarding decimal point I’ve found only one answer from 4 years ago - recommendation to write own validator. It could be OK for decimal point, as numbers in forms are put in text fields, but for displaying date it does not work.

Best Regards,

Jerzy Sorokowski

Hi.
For the date format, it is very easy.
You just need to go in the “Data” tab of your Date widget and select the display format “25-12-09 12:50”.

For the decimal number, you need to use a text field and, in the Data tab, you need to select the field modifier “java.lang.double”.

Hi,
For data field is OK. But for numerical field value, for example 50,50 it still does not work.

Another question concerning date format displayed in BPM Portal. The format is “08/11/2014 1:31 PM”. Where can I change this format to “dd-mm-yyyy hh:mm”?

Best Regards,

Jerzy Sorokowski

If you click on the format, there is a list :
http://img11.hostingpics.net/pics/585613date.png
The 4th is “dd-mm-yy hh:mm”.

For the numerical field, it only support 50.50 not 50,50. The dot is the default separator and I don’t think it can be changed.