Summary: Random, standalone functions for form analysis.

Function Summary
gtMCSelCountOTF How many choices are currently selected in the provided select-multiple or checkbox elements? This function is intended for "on-the-fly" analysis, before the form is actually submitted.


util_form.js: Overview

Random, standalone functions for form analysis.







TOP     util_form.gtMCSelCountOTF()

How many choices are currently selected in the provided select-multiple or checkbox elements? This function is intended for "on-the-fly" analysis, before the form is actually submitted.

This is a generically-useful debugging function, and is entirely unrelated to the other functions in validate_form.js

PARAMETERS

RETURNS

A number, representing the number of choices selected/checked currently. Zero if nothing is selected/checked.

NOTE

SIGNATURE

gtMCSelCountOTF(cb_orSMElement)





























___RPLC___ vfjs_doc_footer ___RPLCZ___