Results 1 to 4 of 4

Thread: Success/Error Pages Not Working
      
   

  1. #1
    tgr
    tgr is offline Private First Class
    Join Date
    May 2009
    Posts
    6

    Default Success/Error Pages Not Working

    For whatever reason, the page is not detecting errors. If you go to http://trimbleforcongress.com/Contri...tributions.php and fill out all the info, you'll be taken to http://trimbleforcongress.com/Contribute/success.html
    If on the other hand you simply don't fill anything out (each item is data required) you get taken to the same page.
    Yes, I have both pages in the same folder. Yes, I've tried using both html and php suffixes with the pages; only html suffixes work.
    Can someone please tell me what I'm doing wrong?
    Yes, I am running for Congress.

  2. #2
    D'son's Avatar
    D'son is offline Major General
    Join Date
    Apr 2008
    Location
    Illinois
    Posts
    2,580

    Default Re: Success/Error Pages Not Working

    You need to validate your form, this will cause an error message to pop up if the form is left blank. No one should technically ever see your error page unless there is a problem proccessing the form or an error of that sort. To validate your form you need to name each field, then double click the fields you want to make them fill in (one at a time) and click the validate tab and fill in the info. Also right click each and every field in the order you want the form to be filled in and select bring to front (do this one at a time for each one including the submit button).

  3. #3
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Success/Error Pages Not Working

    Your validation doesn't work because the form name is "Contributions Page"

    Make it "Contributions_Page" (use an underscore) as whitespaces break the validation function.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  4. #4
    tgr
    tgr is offline Private First Class
    Join Date
    May 2009
    Posts
    6

    Default Re: Success/Error Pages Not Working

    Thank you so much! Your suggestions worked like a charm.

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