Online Documentation
- Introducing ASPSpellCheck
- Introduction to ASPSpellCheck
- What's New
- Getting Started
- Installation and Settings
- Installation Process
- Compatibility
- Installing Dictionaries
- Your Custom Dictionary
- Enforcing Spelling Corrections
- The Settings File
- Usage
- Basics
- ASPSpellLink Class
- Properties
- caseSensitive
- checkGrammar
- dictionary
- dialogLanguage
- doneMessage
- externalCSS
- fields
- hideSummary
- ignoreAllCaps
- ignoreNumbers
- ignoreWebAddresses
- javaScriptCallback
- newSentanceOnEachNewLine
- useSession
- ASPSpellPath
- Methods
- buttonHTML
- buttonXHTML
- imageButtonHTML
- imageButtonXHTML
- linkHTML
- spellingCheck
- spellingSuggestions
- url
- Notes for Advanced Developers
- ASP.Net Compatibility
- Caching
- Examples
- Basic SpellCheck
- Server Side Spellchecking
- Language Variants
- Submitting a Form
- Rich Editors
- Licenses & Registration
- Free Trial
- Registering
- License Agreement
ASPSpellLink.hideSummary
This Boolean property is used to decide if the spell-check dialog will hide the summary screen.
This is particularly useful in form validation if:
- ASPSpellLink.hideSummery is set True
- the JavaScript Callback API is used to submit a form after spellchecking.
This allows you to use the spellchecking button a form submission button - however the form will only be submitted after the spellchecking is complete.
The default value of hideSummary is false.
Example
If you wanted to have discreet Spelling validation on a form:
<!--#include virtual="/ASPSpellCheck/ASPSpellInclude.inc"-->
<form action="" method="POST" id="form1" >
<textarea id="MyTextArea" name="MyTextArea" cols="30" rows="10" >
With no spelling errors - the spell check validation is quite discreet.
</textarea>
</form>
<%
dim myLink
set myLink = new AspSpellLink
myLink.fields="MyTextArea"
myLink.hideSummary= true
response.write myLink.ButtonHTML("Spellcheck and Submit","")
set myLink = nothing 'closes the class
%>
<script language="javascript">
function ASPSpellDone(strFields){
document.getElementById('form1').submit()
}
</script>
