ASP Spell Check Demos - Form Validation

The formToSubmit property allows you to submit a form when spellchecking (in a dialog window) is complete.

Source Code
<!--#include virtual="/ASPSpellCheck/ASPSpellInclude.inc"-->
<form id='form1' action=''>
 <textarea name="MyTextArea" cols="50" rows="7" id="MyTextArea">
   Hello worlb.
 </textarea>
 
<%  
	dim myLink
	set myLink = new AspSpellLink
	myLink.hideSummary=true	
	myLink.formToSubmit="form1" '' id of the main form	
	myLink.fields="all"
	response.write myLink.spellAsYouType() 
	response.write myLink.buttonHTML("Spell Check & Submit","") 
	set myLink=nothing
 %>
</form>
Tutorial
  • The hideSummary property is used to turn off the spell checker's summary screen after spell checking.
  • In more complex cases you may wish to use the JavaScript events model (such as onDialogComplete).