A defect remediation and a couple of enhancements to the field:
Defect fix: [#2504541]
Enhancements:
- You can now specify that the field should be unique - [#2582767].
- Default values for each chunk can now be specified as well.
- The webform structured text component is now rendered by default to appear as a single text field, with the option to render it as individual input boxes (the old behaviour). Note that this change may mean you have to do some theming to get the outer <div> to look like a regular text input field. The new webform_structured_text.css file has instructions on how to do this.
- Text within each chunk is now centered by default. You can turn this off and then use your own styling to modify as appropriate.
- Error messages on the component configuration page are now more complete, indicating everything that appears to be wrong with any of the mask RegEx, placeholders, labels, and default values, not just the first error found.
- RegEx's are now checked for validity as part of the component configuration validation, with validation failure error messages indicating what the problem appears to be in the RegEx.
There has also been a bit of code refactoring.
VCS Label
6.x-1.7
Core compatibility
Release type
Release files
7447838ba5c1f4021f7a2a56f8ec90db
Release file SHA-1 hash
6ff2af36a0ad67636862ca7bbcda966c82df7b5d
Release file SHA-256 hash
649148464f0bdc075424f94e3b069ab1ad88bc23ed815112c47c2019d665023c
e517985853243382bd8144e23b7419d8
Release file SHA-1 hash
9221ece15aff2f2b0314ca6b67728d47e5f19da8
Release file SHA-256 hash
810215b6f39497249d42cd181d3732c5a5651d48c908a1258aa54c632f493c26