[kdewebdev-webdeveloper] Form Problem

Eric Laffoon sequitur at easystreet.com
Thu Mar 3 12:54:29 EST 2005


On Friday 25 February 2005 07:35 pm, Graeme Nichols wrote:
> >There is however a solution where this will work with Javascript. I have
> > it in a Javascript book somewhere if you want to use that option. Just
> > ask. 
>
> Hello Eric, would you be so kind as to look up that option for me
> please. I would appreciate it.
>
> Ta,
>
> Graeme.
Sorry to take so long. I stand corrected... From page 419 of "Javascript 
Bible" by Danny goodman I find "Microsoft, on the other hand, goes too far in 
preventing forms e-mailing." Of course as was pointed out here they can 
hardly be faulted for not perpetuating Netscape's non standard extentions to 
HTML.

So you're back where you started. You can use a mailto link that does not 
manage the form, or you could access CGI off site. Alternately you could us 
Javascript with an onSubmit function that created a new window and wrote the 
form result on it. Then you could instruct the user to email it to you. That 
is a bit of an exercise for a less than satisfactory result.

One other option exists if you know your user will be running KDE and have 
Quanta installed. You could embed a Kommander dialog. When they click on it 
they will get a warning that it is dangerous to run scripts from off site, 
but the dialog could gather their data, format it and insert it into an email 
in Kmail that is ready to send.

I hope this is of some help.


More information about the kdewebdev-webdeveloper mailing list