Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

JCB! Field Type

Number

Single-line number input with step controls.

The number form field type provides a single-line input for numeric values, typically displayed with up/down step controls (spinner). It supports attributes such as minimum, maximum, and step values, allowing you to define numeric ranges and precision for user input.

Property Example Adjustable Mandatory Description
type number no yes (mandatory) must be number.
name number yes yes (mandatory) is the unique name of the field.
label Number yes yes (mandatory) (translatable) is the descriptive title of the field.
default yes no (optional) is the default value.
description yes no (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.
class text_area yes no (optional) is a CSS class name for the HTML form field. If omitted this will default to 'text_area'.
required yes no (optional) The field must be filled before submitting the form.
min 1 yes yes (mandatory) this value is the lowest on the list.
max 40 no yes (mandatory) this value is the highest on the list.
step 5 yes yes (mandatory) each option will be the previous option incremented by this number, starting with the first value until the last value is reached.
onchange yes no (optional) Javascript that should run on changing of the value.
showon yes no (optional) show this field on the bases of the value in another field. https://joomla.stackexchange.com/a/17682/2166

Integrate, customize, and update this JCB Fieldtype with ease through JCB's flexible ecosystem.


Joomla Volunteer Portal Octoleo Llewellyn Telegram Mastodon X (Twitter) GitHub YouTube n8n Docker Hub Open Collective GPG Key