Javascript checkText - jcobban/Genealogy GitHub Wiki

function checkText()

Up: Common Form Handling

Source: /jscripts/CommonForm.js

The function checkText may be assigned as the value of the checkfunc attribute of an input element. It is called when the value of the element is changed to validate that the value contains only characters that are valid in an extended text comment.

// in initialization
      inputelement.checkfunc       = checkText;

Next: function checkSex()