Submitting Form WITHOUT a Submit Button 
Author Message
 Submitting Form WITHOUT a Submit Button

Hello Everyone,
I am interested in submitting a form's contents to another asp page via
code, as I do not want to depend on the user to hit a submit button.  I know
this can be done via VBScript, but I cannot find the appropriate code. Could
someone please enlighten me?  I am working under a deadline and need this
info badly.  I appreciate any help you can give me.

Thanks,
Kathleen Whitman



Sun, 24 Feb 2002 03:00:00 GMT  
 Submitting Form WITHOUT a Submit Button
Kathleen,

If you are willing to use JavaScript on the client side (which I think you
should do for a more global solution), I can provide you a quick solution.

Marvin Thompson

Quote:

> Hello Everyone,
> I am interested in submitting a form's contents to another asp page via
> code, as I do not want to depend on the user to hit a submit button.  I know
> this can be done via vbscript, but I cannot find the appropriate code. Could
> someone please enlighten me?  I am working under a deadline and need this
> info badly.  I appreciate any help you can give me.

> Thanks,
> Kathleen Whitman




Sun, 24 Feb 2002 03:00:00 GMT  
 Submitting Form WITHOUT a Submit Button
Kathleen,

Say your form has a name of form1 , then in vbscript you can call your
form1.submit()

Jake

Quote:

>Hello Everyone,
>I am interested in submitting a form's contents to another asp page via
>code, as I do not want to depend on the user to hit a submit button.  I
know
>this can be done via vbscript, but I cannot find the appropriate code.
Could
>someone please enlighten me?  I am working under a deadline and need this
>info badly.  I appreciate any help you can give me.

>Thanks,
>Kathleen Whitman




Sun, 24 Feb 2002 03:00:00 GMT  
 Submitting Form WITHOUT a Submit Button
catch the enter event and call form1.submit()

ex :

 Sub document_onkeydown
   If window.event.keyCode = 13 Then
    window.event.returnValue = 0
    Call form1.submit()
  End If
 End Sub

--
*************************************************************************

DVICOM INC.
Alma, Qubec
Tel.: 1-418-690-2774
Fax: 1-418-668-0040
*************************************************************************


Quote:
> Hello Everyone,
> I am interested in submitting a form's contents to another asp page via
> code, as I do not want to depend on the user to hit a submit button.  I
know
> this can be done via vbscript, but I cannot find the appropriate code.
Could
> someone please enlighten me?  I am working under a deadline and need this
> info badly.  I appreciate any help you can give me.

> Thanks,
> Kathleen Whitman




Mon, 25 Feb 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Submitting Form WITHOUT Submit Button

2. Submitting form without submit button...

3. What fires the submit action of a form without a submit button

4. Submitting form without submit button...

5. submit without submit button

6. SUBMIT form with 3 different submit buttons - error

7. form submits hrefs images and submit buttons

8. form submit using different submit buttons

9. SUBMIT form with 3 different submit buttons - error

10. Form entry without the use of the submit button

11. VBScript Newbie : Form Entry using a combo box without submit button

12. submit button to operate another submit button

 

 
Powered by phpBB® Forum Software