Sprout Fields
Sprout Fields adds several common field types to Craft CMS. Sprout Fields focuses on fields for an international community with a Craft-friendly user experience.
- Address Field (International)
- Email Field
- Gender (Inclusive)
- Name (International)
- Notes
- Phone Field (International)
- Predefined
- Regular Expression (Exclusive)
- URL Field
Front-end Usage
{# Address #}
{{ entry.addressField.countryCode }}
{{ entry.addressField.administrativeArea }}
{{ entry.addressField.locality }}
{{ entry.addressField.postalCode }}
{{ entry.addressField.address1 }}
{{ entry.addressField.address2 }}
{# Email Field #}
{{ entry.emailField }}
{# Gender #}
{{ entry.genderField }}
{# Name #}
{{ entry.nameField.getFriendlyName() }}
{{ entry.nameField.getFullName() }}
{{ entry.nameField.getFullNameExtended() }}
{{ entry.nameField.prefix }}
{{ entry.nameField.firstName }}
{{ entry.nameField.middleName }}
{{ entry.nameField.lastName }}
{{ entry.nameField.suffix }}
{# Phone #}
{{ entry.phoneField.international }}
{{ entry.phoneField.national }}
{{ entry.phoneField.E164 }}
{{ entry.phoneField.RFC3966 }}
{{ entry.phoneField.country }}
{{ entry.phoneField.phone }}
{{ entry.phoneField.code }}
{# Predefined Field #}
{{ entry.predefinedField }}
{# Regular Expression Field #}
{{ entry.regularExpressionField }}
{# URL Field #}
{{ entry.urlField }}
Installation Instructions
To install this plugin, copy the command above to your terminal.
Reviews
This plugin doesn't have any reviews.
Active Installs
679
License
Craft
Last release
November 5, 2022
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs