Overview:
We are releasing functionally equivalent minor updates to Forms 10 and 11, so whether you are on Umbraco's LTS (long-term support) or the latest major version, you'll be able to benefit from the same upgrade to Forms.
As with previous releases, we are issuing this one first as a release candidate so you can evaluate what’s included and ideally try them out on your existing solutions. Of course, if you do find any issues, or simply have comments for further improvement on the new features, we welcome any feedback.
How to get access to the new version and where to submit any comments and report issues, is discussed at the bottom of the post.
Let’s have a look at what you can expect in this latest release 👀
What’s new in Umbraco Forms 11.1 and 10.3?
We've focussed this release on various improvements we can make to the flexibility and options for editors creating and managing forms on their websites.
Custom Validation Patterns
When creating a text field on a form, it's possible to associate validation patterns with the entry. So for example, if a field is intended to capture a URL, feedback can be provided to the person submitting their form if the entry isn't valid.
Up to now, these patterns could either be selected from an easy-to-understand but limited set of options provided by Forms - number, email, and URL - or they could be provided as a regular expression. Many developers, certainly including myself, will run a mile from having to deal with a regular expression… so this isn't really something we should expect an editor to be familiar with!
With this release, we've added the ability for developers to customize the pre-created options for the editor to pick from. They can add new ones, as well as remove or re-order the ones provided by Forms itself.
So for example, if you needed validation on UK postcodes, a developer could provide that for the editor to select.