We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Add-Ons
default app icon

Datalist FieldType

By mithra62
Fieldtype Publishing
Free

Description

The Datalist FieldType allows you to add datalist input fields into your ExpressionEngine Channel Entries. It’s based off the <datalist>: The HTML Data List element spec and should comply with everything laid out there.

The Datalist FieldType allows you to add datalist input fields into your ExpressionEngine Channel Entries. It’s based off the <datalist>: The HTML Data List element spec and should comply with everything laid out there.

Will output an HTML input field for Channel Entries that resemble:

<input list="__my_list" type='text' name="my_list" id="my_list" value="5" />
<datalist id=__my_list">
    <option value="1">One</value>
    <option value="2">Two</value>
    <option value="3">Three</value>
    <option value="4">Four</value>
    <option value="5">Five</value>
</datalist>

Compatibility

The Datalist FieldType should work with:

  • Grid FieldType
  • Fluid FieldType
  • Seeder by CartThrob
  • Unit Tests

Modifiers

:label

Will output the label instead of the value for the field.

Example
{my_field_name:label}
Information
Version 1.1.0
Last Update 4 months ago
Compatibility EE 7
License MIT
Links
  • Documentation
  • Support
Free
ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.