field "select numeric" (or numeric drop-down list) automatically
creates a numbers list (or numbers menu) with a single choice. Each
choice in the list is an option. A field "select numeric" contains at
least one option.
The options of "select numeric" field are automatically generated using a mathematical formula and limits
(Example: 1 =< n+1 =< 20)
Common Plugin Settings (Link to the article)
Select the mathematical formula used in the automatic generation of the list:
- option 1: Sum(+)
- option 2: Product(*),
- option 3: Difference(-),
- option 4: Quotient(/).
Required, write the starting value.
Required, write a value of step (or increment). The step is a positive or negative value.
Required, write a maximum value not to exceed.
If the parameters Start=1, Step=1 and End=12, you obtain the following result.
write a value to be placed at the beginning of the list. Useful if the
value is outside of the generated list, a particular case.
write a value to be placed at the end of the list. Useful if the value
is outside of the generated list, a particular case.
the last two parameters (First(Optional) and Last (Optional)) for the
lower and upper bounds of your numerical sequence. In the following
example, we use bounds "< 1" and "> 12"
an option to choose the minimum number of digits composing the options
of "select numeric". For example, if the options of the select numeric
are 8,9,10,11 then:
- option 1 (No): these options are displayed as 8,9,10,11
- option 2 (2 digits): these options are displayed as 08,09,10,11
- option 3 (3 digits): these options are displayed as 008,009,010,011
- option 4 (4 digits): these options are displayed as 0008,0009,0010,0011
- option 5 (5 digits): these options are displayed as 00008,00009,00010,00011
Select option 2 (2 digits) for the "Force Digits" parameter if you use "select numeric" field to select a month of year.