[Pro] Spell Check a form element

Is it possible to spell check a form element, as a user is typing in copy before choosing the Submit button ?

Someone asked me, and I did not know if it was possible.

Thanks,

Rich


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Possible, sure. It’s quite an engineering project, though.

You’ll want to create some sort of Ajax callback function, where a
JavaScript watches to see when someone has paused in typing for some
defined period of time, then snarfs up all of the text and sends it
back to the server through a back-channel for processing. You’ll
probably end up using the aspell library on the server, and then feed
the result back to the server where your Ajax function will do
something with the result.

If you’re using a normal textarea or text (form field) input, I don’t
think you can do the clever red text with wiggly underline like Word.
But if you use a different type of input, like a DIV in designmode,
then pretty much anything you want to do is possible.

Walter

On Mar 13, 2011, at 4:05 PM, sampolfonz wrote:

Is it possible to spell check a form element, as a user is typing in
copy before choosing the Submit button ?

Someone asked me, and I did not know if it was possible.

Thanks,

Rich


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I just tried a little test document with this, and discovered that
both Safari and Firefox on the Mac offer the dotted red underline “you
spelled badly” coach marks in all form inputs. Also, if you enable
designmode on your document, the same thing holds true for any HTML
text on the page. In Firefox, the coach marks appear the moment you
load the page, in Safari they appear after you click on the word (so I
assume they would also appear as you typed new words).

Walter

On Mar 13, 2011, at 4:20 PM, Walter Lee Davis wrote:

If you’re using a normal textarea or text (form field) input, I
don’t think you can do the clever red text with wiggly underline
like Word. But if you use a different type of input, like a DIV in
designmode, then pretty much anything you want to do is possible.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options