Results 1 to 3 of 3

Thread: More than one form
      
   

  1. #1
    crouquet is offline Sergeant Major
    Join Date
    Jan 2007
    Posts
    86

    Default More than one form

    Hello!

    Is it possible to have more than one form on the same website using just the simple forms?

    I already had a form on the bookings page and have just created one on my comments page but the action / thank you page stays the same even although I changed the html to suit the new form.

    Thought I would need to use the ABVFP but can't seem to get it to work properly.
    At the moment I've got round the problem by creating a "one size fits all " thank you page ( with the original HTML ) It's really not ideal but at least it's all working.
    Any help would be much appreciated!
    Thank you.
    Elena
    www.lescrouquets.net

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: More than one form

    You can have as many forms as you want. Each form consists of the actual form on your website, the page that processes it, and the thank you/confirmation page (you can combine the process and thankyou), I don't know how you have your first on setup.

    Anyway, you could have two page.. say...

    contact.html
    feedback.html

    And then for the form "action" have two different ones (you might have action.php, the name doesn't matter)

    contact_process.php
    feedback_process.php

    And then the thank you pages

    contact_thankyou.html
    feedback_thankyou.html

    Just follow the process... keep tract of what you are naming, and follow the same process for each... The name of the action file does not matter at all... The only page name that matters when you make a website is the index, thats it.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    crouquet is offline Sergeant Major
    Join Date
    Jan 2007
    Posts
    86

    Default Re: More than one form

    QUOTE [And then for the form "action" have two different ones (you might have action.php, the name doesn't matter)

    contact_process.php]

    Thank you! For some reason I understood that the action page had to be called "action" otherwise it wouldn't work.

    Elena
    www.lescrouquets.net

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49