NorrCompetition | NorrNext Documentation
DocumentationNorrCompetition
  • 🚀Getting started
    • Technical Requirements
    • Installation and Updates
  • 🛠️Configuration
    • Component Options
    • General
    • Contests
    • Contest
    • Entries
    • Entry
    • Categories
    • Category
    • Images
    • Comments
    • Contest Form
    • Permissions
  • 🖼️Contests
    • Managing Contests
    • Creating Contest
    • Contest Layout Options
    • Closing Contest
  • 🏆Entries
    • Managing Entries
    • Adding Entry
    • Approving Entry
    • Entry Data Comparison
    • Entry Layout Options
    • Submitting Entry Form
    • Contestant's Profile
    • Votes Log
  • 📂Categories
    • General Information
    • Managing Categories
    • Creating Category
    • Category Layout Options
  • 🧩Fields
    • General Information
    • Managing Fields
    • Field Types
    • Creating Field
  • 🔋Modules
    • NorrCompetition Entries
    • NorrCompetition Contests
    • NorrCompetition Grid
  • 🔌Plugins
    • NorrCompetition Notifications
    • NorrCompetition Smart Search
    • NorrCompetition Search
    • NorrCompetition Sitemap
    • NorrCompetition Profile Link
    • Application for EasySocial
    • NorrCompetition Application for JomSocial
    • AUP plugin for NorrCompetition
    • NorrCompetition Image Moderation
      • Sightengine Setup
      • Plugin Configuration
  • 💬Comments
    • Integration with Facebook
    • Integration with JComments
    • Integration with Komento
    • Integration with Disqus
    • Integration with VK.com
  • ☁️Remote Storage
    • General Information
    • AWS S3
  • 🖥️Customisation
    • Template Overriding
    • Using content plugins on entry page
    • Link to contestant
    • Events
      • Content
      • Contest
      • Entry
      • Entry Form
      • Field
      • Vote
      • Other
  • ✍️Localisation
    • Language pack installation
    • How to take a part in NorrCompetition localisation
  • 📜Best Practices
    • Recommendations on image sizes
    • Use on multilingual sites
    • Tutorial: How to Create Photo/Video Voting Contest on Joomla
    • Tutorial: Monetize Voting Contests via Membership
    • Tutorial: Monetize Voting Contests via Points
    • Embedding HTML snippets on example of music contest
  • 💡FAQ
    • How the protection from unfair voting is implemented?
    • What notifications does the component send?
    • Create and edit contests on front-end
    • Submitting Entries by Unregistered Users
    • How to install sample data
    • How to change the order of tabs with comments
    • Using navigation module (breadcrumbs)
    • NorrCompetition and YOOtheme Pro
  • 🔍Troubleshooting
    • I do not get notifications from NorrCompetition
    • I get an error or white screen on photo upload
    • No images appear after submitting entries
    • Submit button is not working
  • User is not able to vote. Errors in the console
Powered by GitBook
On this page
  1. Fields

Creating Field

Learn how to create a field.

PreviousField TypesNextNorrCompetition Entries

Last updated 2 years ago

To create a new field proceed to the fields list and click on the "New" button. A new field form will open:

New field form

Below is the list of all available field settings and its descriptions.

  • Title – the title of the field. It will help you to identify the field in the list of fields (for example in contest settings) if you use the same label for several fields.

  • Type – the list of field types. The field types are described .

  • State – the state of the field: published, unpublished or trashed.

  • Label - the label tag.

  • Hint – a text inside the field input. The 'placeholder' attribute.

  • Description – the description for the field. The 'description' attribute.

  • Filter – this will sanitise a user input. The 'filter' attribute.

    You can set the following filter types: STRING – converts the input to a plain text string; strips all tags / attributes INT – uses the first integer value UINT - the first unsigned integer value FLOAT - uses the first floating point value SAFEHTML - removes unsafe tags and attributes URL - removes all the symbols not related to URL TEL – removes all the symbols not related to phone number USER_UTC - converts a date to UTC based on the user timezone offset SERVER_UTC - converts a date to UTC based on the server timezone offset Text Filters - use text filter settings from system global configuration

    If you use the field of type 'Calendar' without the time then use the STRING filter. Otherwise, the date will be converted incorrectly.

  • Visible - show or hide the field in the list of entry fields on front-end.

  • Required - include the 'required' attribute.

  • Class – the class or several classes separated with the blank space. The 'class' attribute.

  • Size - the size of the field. The 'size' attribute.

  • Maxlength - the maximum input symbols for the field. The 'maxlength' attribute.

  • Nofollow - enable or disable nofollow for the field. The 'nofollow' attribute is used for the 'URL' field.

  • Width - the width of the field in cols. The 'cols' attribute.

  • Height - the height of the field in rows. The 'rows' attribute.

  • Autofocus - the autofocus for the field. The 'autofocus' attribute.

  • Autocompelete - enable or disable autocomplete for field. The 'autocomplete' attribute.

  • Format - the date and time format for the field. Is used for the 'Calendar' field.

    The most frequently used date string codes: %d - day (0-365); %m - month (1-12); %Y - year (for example, 2015) %H - hours; %M - minutes; %S – seconds More information you can get on the page

  • Field Values - is used for fields 'List', 'Radio' and 'Checkbox'. In the table you should set Text (is displayed to a user) and Value (is submitted to the server for saving).

🧩
here
https://docs.joomla.org/Calendar_form_field_type
New field form - NorrCompetition