function textCounter(field, countfield, maxlimit) { /* * Input-Parameter: field name; * the remaining count field; * max. Characters. */ if (field.value.length > maxlimit) // If the input length is greater than allowed field.value =field.value.substring(0, maxlimit); // no typing is allowed else countfield.value = maxlimit - field.value.length // the number of the remaining chars is displayed } "; start_table(); row1("Reset preferences"); row2("Use this button to reset preferences to the defaults", "
"); echo "\n"; end_table(); page_tail(); ?>