1.5.4releasedUnique Text Input Field
Force unique handles
Clone URLhttps://github.com/symphonycms/uniqueinputfield.git
Add as a submodulegit submodule add https://github.com/symphonycms/uniqueinputfield.git extensions/uniqueinputfield --recursive
Compatibility
2.x.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1.3 | 1.4 | 1.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 | 1.5.4 |
Readme
Field: Unique Text Input
Makes the value's handle unique across the section
Installation
Upload the
/uniqueinputfield
folder to your Symphony/extensions
folder.Enable it by selecting the "Field: Unique Text Input", choose Enable from the with-selected menu, then click Apply.
You can now add the "Unique Text Input" field to your sections.
Usage
Behaves identically to a normal text input, however it enforces uniqueness of the handle and you cannot group the output in Data Sources.
Two modes allow you to choose between throwing an error, "This must be unique", or attempting to make the handle unique automatically by appending an number, eg.
my-entry-handle-2
Version history
Symphony 2.3 to 2.x.x
- Fix UI issue with the field's frame (#11)
Symphony 2.3 to 2.x.x
- Fix two SQLi vulnerabilities (reported privately)
Symphony 2.3 to 2.x.x
- Updated documentation and description to better represent the actual behavior
Symphony 2.3 to 2.x.x
- Updated for Symphony 2.6 compatibility
Requires Symphony 2.3
- Updated for Symphony 2.3 compatibility
- Field now extends the core Input field, for greater flexibility and consistency
Symphony 2.0.6 to 2.2.x
- Updated for Symphony 2.2 compatibility
Requires Symphony 2.0
- Fixed logic behind automatically creating unique handles.