According to Camunda Docs - extension elements for FormFields there is the datePattern
attribute. While it isn’t possible to specify it as an attribute in the Modeler it can be done in the XML file.
<camunda:formField id="German_Date" label="Enter date in German format here" type="date" datePattern="dd.MM.yyyy">
Note: Don’t do it if you’re using generic forms as the frontend validator doesn’t honor this setting [which is likely the reason that the attribute isn’t available in the Modeler] and must be changed itself.
Question: How can I change the default datePattern (which is set to dd/MM/yyyy
)?
Additional question: What is the best way of changing the frontend validator in the generic form handling (which obviously should be best automatically set to the pattern used in the camunda field definition)?