Due to security issues we need to (we would like to) change the submit
process to stop non-javascript browsers/users to do the submit and allow
javascript enabled browsers to do it.

We have tried to change the "<input type" from SUBMIT to BUTTON and then
add the onClick event in "ExtraHTML". This works when the browsers is
not javascript enabled 'cos the submit is never done, but when
javascript is enabled again the submit is done and it returns to the
same page.

Here is the implementation:

...
<script language="javascript">
function doTheSubmit(form) {
    form.submit();
    return;
}
...
...
<input type=button name="button_onWebEvent(button1)" value="submit"
onClick="doTheSubmit(this.form)">
...

The other test was to left the "<input type" as SUBMIT and to add the
onClick event, but with this solution the submit is done automatically
by NetDynamics.

Is there any other way to implement this?

Thanks in advice.
begin:vcard 
n:L�zaro Portugal;Maite
tel;fax:91 436 71 19
tel;work:91 436 72 14
x-mozilla-html:FALSE
org:;Telef�nica Sistemas
adr:;;c/Goya 4, 3� Planta;Madrid;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Maite L�zaro Portugal
end:vcard

Reply via email to