Alternate methods of form proccessing ?

Results 1 to 2 of 2

Thread: Alternate methods of form proccessing ?

  1. #1
    Jason Guest

    Default Alternate methods of form proccessing ?

    Hi all<BR><BR>Submission and processing of a form:<BR><BR>Is it possible to have a form run a function to process the form and then recirect/transfer when finished. The function would hold all the usual code needed to process the form and would be included into the form page using SSI.<BR><BR>In other words how would I get a function/script to fire on an event like OnClick or OnSubmit etc. I am used to Javascripts DOM and was wondering if ASP/VBScript used anything similair ?<BR><BR>Other than having the action of a form pointing to another entire asp page to do the processing, are there any other techniques used in processing a form ?<BR><BR>Regards<BR>Jason

  2. #2
    Join Date
    Dec 1969

    Default RE: Alternate methods of form proccessing ?

    A common technique is to use a self-submitting form - the form submits itself to the same ASP page that generated it. It usually goes like this:<BR><BR>If Request.Form = "" Then<BR>&nbsp;&nbsp;Call WriteHTMLForm()<BR>Else<BR>&nbsp;&nbsp;Call ProcessForm()<BR>End If<BR><BR>Sub WriteHTMLForm()<BR>...<BR>End Sub<BR><BR>Sub ProcessForm()<BR>...<BR>End Sub<BR><BR>Dunc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts