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.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
1.31.41.41.5.41.5.41.5.41.5.41.5.41.5.41.5.41.5.41.5.41.5.41.5.41.5.41.5.41.5.41.5.4

Readme

Field: Unique Text Input

Makes the value's handle unique across the section

Installation

  1. Upload the /uniqueinputfield folder to your Symphony /extensions folder.

  2. Enable it by selecting the "Field: Unique Text Input", choose Enable from the with-selected menu, then click Apply.

  3. 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.