Not sure why you don't want to submit the form.  But if you really really
don't want to "submit the form" then you have to use javascript.
If you're willing to submit the form, then this is relatively simple,
depending on how you want to display the data.
if you're willing to submit, then step through the field that has the data,
one word at a time (maybe explode the string on " " (space)) and compare the
word to your dictionary.  if the word is misspelled, then add it to an
array, or do some action


-----Original Message-----
From: Jason Giangrande [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 19, 2003 8:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Forms and PHP


I have a question about forms and PHP.  Here's what I'm looking to do.
I'm trying to set up a spell checker that checks text entered in a form,
but I want the check results to show up in a different window so that
the user can change the misspelled words if they'd like.  In other
words, I want to be able to click a link and have another page open that
checks the spelling.  My question is how can I send the text from the
form to this other page (which, right now, is a separate php script) so
it can be spell checked without actually submitting the actual form
first?  In other words, I would like the user to be able to check the
spelling without actually submitting the form.

Thanks,
Jason Giangrande


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to