handling two forms

Results 1 to 2 of 2

Thread: handling two forms

  1. #1
    ifred Guest

    Default handling two forms

    I have to forms in two pages.When i click submit in the second form, i&#039ll trigger an ASP code that will handle information in the first and the second form.My question is,how can i refer the ASP code (which will start from the second form submit button)to take information from the first form and use them (ex:send them to a database).<BR><BR>Explanantion:two forms, form 1 and form 2. Form 1 will be filled out and there will a link to from it to form 2. After filling form 2 and click the submit button, i need the ASP code to send the information from form 1 and 2 to a database.How can i make the ASP go and take information from form 1 and send it to the database???<BR><BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: handling two forms

    you need to store the information from the first form before getting on to the second form. the best way would be to form1 submit to form2 which would then have a set of hidden fields, corresponding to the fields of form1, which then get submitted with form2 - all you then need to do is use ASP in form2 to write the values into the hidden fields<BR><BR>&#060;input type="hidden" name="name" value="&#060;%= Request.Form("value") %&#062;" /&#062;<BR><BR>jason

Posting Permissions

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