WorkflowsRegex.OrchardCore is an Orchard Core CMS Module that provides a regular expression validator in Workflows for form fields.
The module was built for a presentation. The version of Orchard Core CMS at the time, beta 2, did not include a regular expression validator for form fields.
Add the NuGet package, WorkflowsRegex.OrchardCore, to the Orchard Core CMS Website. Launch the website and sign in as an administrator to enable the module from the dashboard under Configuration -> Modules.
Create a workflow and select Add Task. Filter the workflow tasks by Validation and choose the Regex Validator task.
Edit the task settings. Enter a form field and a regular expression for validation.
For presentations, you can simply create a workflow that accepts a form submission and logs a validation error.
There are no known bugs.
There are no plans to add any additional features.
WorkflowsRegex.OrchardCore is created and maintained by David Hayden.