September 23, 2021, 2:00pm
I have encountered a non-functioning regular expression validation. I am working on a form in the modeler. When I fill in some regex validation of a text field, it appears in the raw JSON under
regularExpressionPattern. However, this is not reflected, when the form is then displayed in Tasklist.
replace in the JSON of the form, the validation works fine in the Tasklist. Are the versions of my platform and modeler incompatible? Where can I find some information on the compatibility? regularExpressionPattern by pattern
October 15, 2021, 7:25am
now I encounter the same for:
October 15, 2021, 4:07pm
Would you mind sharing the form and how to reproduce the steps. I would recommend try it out in windows modeler version too.
I’d second this.
My regexp actually is :
But it doesn’t work even with the singlest of regexps : ([a-zA-Z]+)
same here. win10, camunda 7.16, modeller 4.11.1.
regularExpressionPattern by pattern in the JSON file as suggested by Rafi fixed it.
To reproduce simply follow Niall’s tutorial video:
Camunda Platform Tutorial: Building a Process and Adding Forms in Camunda Run - YouTube
April 13, 2022, 7:13am
issue still exists in modeler 5.0.0, logged an issue on github:
07:11AM - 13 Apr 22 UTC
__Describe the Bug__
'regularExpressionPattern' should be 'pattern' in form
… JSON, others descibe the same in https://forum.camunda.io/t/regular-expression-pattern-not-working/30215
__Steps to Reproduce__
Adding a 'Regular Expression Pattern' validation to a text field in a form will show up as 'regularExpressionPattern' in the resulting JSON data
'regularExpressionPattern' does not work, 'pattern' does, as per form schema (https://github.com/bpmn-io/form-js/blob/master/docs/FORM_SCHEMA.md?plain=1#L32)
changing it manually in the JSON data makes it work after deployment
- OS: [e.g. MacOS 10.2, Windows 10]
- Camunda Modeler Version: 4.11, 5.0.0
- Execution Platform: camunda platform 7.16.0
- Installed plug-ins: none