::xowiki::formfield::text ::xowiki::formfield::text add_statistics initialize is_clock_string_p render_input ::xowiki::formfield::FormField ::xowiki::formfield::FormField ::xowiki::formfield::text->::xowiki::formfield::FormField ::xowiki::formfield::numeric ::xowiki::formfield::numeric answer_check=eq check=numeric convert_to_external convert_to_internal convert_to_internal_value initialize json_value pretty_value render_input ::xowiki::formfield::numeric->::xowiki::formfield::text ::xowiki::formfield::user_id ::xowiki::formfield::user_id initialize pretty_value ::xowiki::formfield::user_id->::xowiki::formfield::numeric ::xowiki::formfield::YYYY ::xowiki::formfield::YYYY check=YYYY ::xowiki::formfield::YYYY->::xowiki::formfield::numeric ::xowiki::formfield::author ::xowiki::formfield::author pretty_value ::xowiki::formfield::author->::xowiki::formfield::user_id ::xowiki::formfield::party_id ::xowiki::formfield::party_id check=party_id_check ::xowiki::formfield::party_id->::xowiki::formfield::user_id

Class ::xowiki::formfield::numeric

::xowiki::formfield::numeric[i] create ... \
           [ -connection_locale (default "1") ] \
           [ -format (default "%.2f") ] \
           [ -keep_string_rep (default "0") ] \
           [ -strict (default "0") ]

Defined in

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xowiki::formfield::text[i]
  • subclass: ::xowiki::formfield::user_id[i], ::xowiki::formfield::YYYY[i]

Methods (to be applied on instances)

  • answer_check=eq (scripted)

  • check=numeric (scripted)

  • connection_locale (setter)

  • convert_to_external (scripted)

  • convert_to_internal (scripted)

  • convert_to_internal_value (scripted)

  • format (setter)

  • initialize (scripted)

  • json_value (scripted, public)

     <instance of xowiki::formfield::numeric[i]> json_value value

    Export a normalized numeric value, or preserve a nonempty string when keep_string_rep is enabled. Empty values are exported as null.

    Parameters:
    value (required)
    Stored numeric field value.
    Returns:
    Two-element ns_json type/payload pair.

    Testcases:
    No testcase defined.
  • keep_string_rep (setter)

  • pretty_value (scripted)

  • render_input (scripted)

  • strict (setter)

  • validator (setter)