|
Posted by Schraalhans Keukenmeester on 05/09/07 18:08
At Wed, 09 May 2007 18:08:41 +0100, Johnny BeGood let his monkeys type:
> Hi All,
>
> Is there a way to post the contents of a form without having to click on the
> Submit button, i.e
>
> <form method="post" action="http://www.whereever.com/ProcessTheData.php">
> <INPUT name="Field1" type="text">
> <INPUT name="Field2" type="text">
> <INPUT name="Field3" type="text">
> <INPUT name="EsendexRecipient" type="text">
> <TEXTAREA name="Block" rows="3" cols="20"></TEXTAREA>
> <input type="submit" value="Submit">
> </form>
>
> Can it be done as follows, are am I going to end up red faced again?
>
> http://www.whereever.com/ProcessTheData.php?A=Field1&B=Field2. . . . .
>
> Any help gratefully accepted
>
> Cheers
No reason to go red faced.
Using Javascript you could send the data to a script once a given field or
number of fields contain values. Why on earth you would want to use a form
in this manner is beyond me. Ask in Javascript groups how to.
If you want the form to be interactive (e.g. the form changes
following a certain choice, or a form field has code completion or
hinting) you could have a look at an AJAX solution. This (it's not
a product but a concept) combines javascript, xml and server-side
scripting to modify part of a page in your browser without having to
reload the complete page first)
AJAX is an acronym for Asynchronous Java And XML.
HTH
Sh
Navigation:
[Reply to this message]
|