Results 1 to 2 of 2

Thread: ASP form

  1. #1
    Join Date
    Aug 2006
    Posts
    148

    ASP form

    I want to create an ASP form with text-boxes (single and multiline) and drop down lists.

    After you submit, can it go to a thankyou page and an error page if certain textboxes aren't filled in.

    Thanks in Advance

  2. #2
    Join Date
    Sep 2006
    Location
    Perth, Australia
    Posts
    211
    Ofcourse it can, with a good knowledge of any language, you can virtually do anything. I use ASP and basically it says

    If textbox1 = "" Then
    Response.Redirect(error.asp?type=textbox1) (Where that page states: "Please fill in textbox1")
    ElseIf textbox2 = "" Then
    Response.Redirect(error.asp?type=textbox2) (Where that page states: "Please fill in textbox2")
    Else
    Response.Redirect(thankyou.asp) (Where this page says: "thank you, form has been submitted, or something like that)

    Forms can contain drop down lists, multiple selection lists and just plain text boxes for uses with either normal text or passwords.

    Hope that helps

    Edited Part: If you wish to see these text boxes in use, please view my website contact form here: www.fantasiser.com.au/contact .I dont have any errors that get sent back to the clients. But its a simple easy form

Similar Threads

  1. Insert a form within a form
    By stevenbhn in forum General Questions
    Replies: 1
    Last Post: 10 Feb 2006, 05:16 PM

Posting Permissions

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