spellCheckWindowTest (strfield1  [,strfield2...] )

The spellCheckWindowTest  function allows you to determine if there are any spelling error in a group of fields. The inputs of this function conveniently exacty match those of spellCheckWindow.

This is useful for form validation - where a spellchcker will only be opened if there are spelling errors in the form.

It returns a result of true of false .

Look at an Example...

 

Note: the users web browser must have Ajax compatability for this function to work. Otherwise this function will return null.