%3 ::xowiki::formfield::text_fields ::xowiki::formfield::text_fields answer_is_correct get_text_entry initialize pretty_value render_help_text render_input set_feedback td_pretty_value ::xowiki::formfield::ShuffleField ::xowiki::formfield::ShuffleField check=options initialize randomized_indices shuffle_options valid_subselection ::xowiki::formfield::text_fields->::xowiki::formfield::ShuffleField ::xowiki::formfield::CompoundField ::xowiki::formfield::CompoundField ::xowiki::formfield::text_fields->::xowiki::formfield::CompoundField ::xowiki::formfield::enumeration ::xowiki::formfield::enumeration add_statistics answer_is_correct config_from_category_tree get_labels ggw initialize make_correct pretty_value render_input render_label_classes render_label_text render_result_statistics scores stats_record_detail value_if_nothing_is_returned_from_form ::xowiki::formfield::enumeration->::xowiki::formfield::ShuffleField ::xowiki::formfield::FormField ::xowiki::formfield::FormField ::xowiki::formfield::ShuffleField->::xowiki::formfield::FormField ::xowiki::formfield::checkbox ::xowiki::formfield::checkbox initialize render_input td_pretty_value ::xowiki::formfield::checkbox->::xowiki::formfield::enumeration ::xowiki::formfield::select ::xowiki::formfield::select initialize render_input ::xowiki::formfield::select->::xowiki::formfield::enumeration ::xowiki::formfield::radio ::xowiki::formfield::radio initialize render_input ::xowiki::formfield::radio->::xowiki::formfield::enumeration ::xowiki::formfield::boolean_checkbox ::xowiki::formfield::boolean_checkbox check=options initialize value_if_nothing_is_returned_from_form ::xowiki::formfield::boolean_checkbox->::xowiki::formfield::checkbox ::xowiki::formfield::month ::xowiki::formfield::month initialize ::xowiki::formfield::month->::xowiki::formfield::select ::xowiki::formfield::HH24 ::xowiki::formfield::HH24 initialize ::xowiki::formfield::HH24->::xowiki::formfield::select ::xowiki::formfield::iprange ::xowiki::formfield::iprange initialize ::xowiki::formfield::iprange->::xowiki::formfield::select ::xowiki::formfield::candidate_box_select ::xowiki::formfield::candidate_box_select add_bulk_handler add_drag_handler render_input ::xowiki::formfield::candidate_box_select->::xowiki::formfield::select ::xowiki::formfield::security_policy ::xowiki::formfield::security_policy initialize ::xowiki::formfield::security_policy->::xowiki::formfield::select ::xowiki::formfield::MM ::xowiki::formfield::MM initialize ::xowiki::formfield::MM->::xowiki::formfield::select ::xowiki::formfield::MI ::xowiki::formfield::MI initialize value ::xowiki::formfield::MI->::xowiki::formfield::select ::xowiki::formfield::DD ::xowiki::formfield::DD initialize ::xowiki::formfield::DD->::xowiki::formfield::select ::xowiki::formfield::bootstrap-select ::xowiki::formfield::bootstrap-select initialize render_input ::xowiki::formfield::bootstrap-select->::xowiki::formfield::select ::xowiki::formfield::grading_scheme ::xowiki::formfield::grading_scheme initialize ::xowiki::formfield::grading_scheme->::xowiki::formfield::select ::xowiki::formfield::reorder_box ::xowiki::formfield::reorder_box answer_is_correct initialize render_input ::xowiki::formfield::reorder_box->::xowiki::formfield::select ::xowiki::formfield::class ::xowiki::formfield::class initialize ::xowiki::formfield::class->::xowiki::formfield::select ::xowiki::formfield::mon ::xowiki::formfield::mon initialize ::xowiki::formfield::mon->::xowiki::formfield::select ::xowiki::formfield::boolean ::xowiki::formfield::boolean initialize value_if_nothing_is_returned_from_form ::xowiki::formfield::boolean->::xowiki::formfield::radio ::xowiki::formfield::scale ::xowiki::formfield::scale initialize ::xowiki::formfield::scale->::xowiki::formfield::radio

Class ::xowiki::formfield::enumeration

::xowiki::formfield::enumeration[i] create ... \
           [ -category_tree category_tree ] \
           [ -descriptions (default "") ]

Defined in

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xowiki::formfield::ShuffleField[i]
  • subclass: ::xowiki::formfield::checkbox[i], ::xowiki::formfield::select[i], ::xowiki::formfield::radio[i]

Methods (to be applied on instances)

  • add_statistics (scripted)

  • answer_is_correct (scripted)

  • category_tree (setter)

  • config_from_category_tree (scripted)

  • descriptions (setter)

  • get_labels (scripted)

  • ggw (scripted)

  • initialize (scripted)

  • make_correct (scripted)

  • pretty_value (scripted)

  • render_input (scripted)

  • render_label_classes (scripted)

  • render_label_text (scripted)

  • render_result_statistics (scripted)

  • scores (scripted, public)

     <instance of xowiki::formfield::enumeration[i]> scores [ -r r ] \
        [ -f f ] [ -rk rk ] [ -fk fk ] [ -R R ] [ -W W ]
    Switches:
    -r (optional, defaults to "0")
    number of answers which are true
    -f (optional, defaults to "0")
    number of answers which are false
    -rk (optional, defaults to "0")
    number checkmarks to a true answer
    -fk (optional, defaults to "0")
    number checkmarks to a false answer
    -R (optional)
    number correct answered
    -W (optional)
    number incorrect answered

    Testcases:
    create_test_items
  • stats_record_detail (scripted)

  • value_if_nothing_is_returned_from_form (scripted)