Loading...
 

Numeric Tracker Field


This is a stub

This field provides a one-line field for numeric input only. Prepend or append values may be alphanumeric.

Options in Tiki6

(and eventually, also for Tiki7 and Tiki8 )

  • Usage: samerow,size,prepend,append,decimals,dec_point,thousands
  • Example1: 0,60,,hours
  • Example2: 0,5,,h,2,c,,


Option Description
samerow will display the next field or checkbox in the same row if a 1 is specified
size is the visible size of the field in characters
prepend is text that will be displayed before the field
append is text that will be displayed just after the field
decimals sets the number of decimal places
dec_point sets the separator for the decimal point (decimals must also be set). Use c for comma and s for space.

➡️ Please note:
This field affects just the display of numbers from Tiki to the user once they are already saved in the tracker, but NOT the way they have to be inserted through the browser into Tiki. The valid decimal separator when inserting numbers may depend on site language and web browser: Firefox and IE9 seem to accept only dots (.), while Chrome, Opera and Safari only commas (,).
thousands sets the thousands separator. Use c for comma and s for space. Setting only commas will result in no decimals and commas as the thousands separator


multiple options must appear in the order specified, separated by commas.


Options in Tiki9

Option Description
Same Row Displays the next field on the same line.
Display Size Visible size of the field in characters. Does not affect the numeric length.
Prepend Text to be displayed prior to the numeric value.
Append Text to be displayed after the numeric value.
Decimal Places Amount of decimals to preserve before rounding.
Decimal separator when displaying data Single character. Use c for comma, d for dot or s for space. Setting only commas will result in no decimals and commas as the thousands separator.

➡️ Please note:
This field affects just the display of numbers from Tiki to the user once they are already saved in the tracker, but NOT the way they have to be inserted through the browser into Tiki. The valid decimal separator when inserting numbers may depend on site language and web browser: Firefox and IE9 seem to accept only dots (.), while Chrome, Opera and Safari only commas (,).
Thousand separator when displaying data Single character. Use c for comma, d for dot or s for space. When inserting data no separator is needed.


Related:

List Slides