Results 1 to 15 of 15

Thread: Form Problem
      
   

  1. #1
    PeteT is offline Sergeant
    Join Date
    Jun 2008
    Posts
    23

    Default Form Problem

    I have a form that I created, it works fine. I set up the 2 text boxes for email and customer name to be filled out. These fields are set up so that information must be entered into this field or the form will not be sent. I checked off data required, text, and error message for both, yet the form can be submitted without that data. Any idea's on why this is happening.

    Pete
    www.PhotoToCanvasCreations.com/upload.php

  2. #2
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Form Problem

    Make sure that the email field is set to email
    and make sure that no white spaces are in the field names as this tends to break the code.

  3. #3
    PeteT is offline Sergeant
    Join Date
    Jun 2008
    Posts
    23

    Default Re: Form Problem

    the email is set to email, and there are no white spaces. It still does not work

    Pete

    www.PhotoToCanvasCreations.com/upload.php

  4. #4
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Form Problem

    One more step is required:

    Click on your email field
    select validate
    select data type
    choose email field.

    also validate the name field..................

  5. #5
    PeteT is offline Sergeant
    Join Date
    Jun 2008
    Posts
    23

    Default Re: Form Problem

    I did all that, and still does not work. I checked off all items that needed to be checked. This is really driving me nuts. It seems like it should be a easy matter. I've made forms before requiring fields to be completed and it works. Now I used the form wizard on this one, the other I just made the form.

    Anymore idea's?

    Pete

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

    Default Re: Form Problem

    The FORM name cannot contain whitespaces.

    Your form is named "Order Form". Make it "Order_form" or "Orderform" and it will work.

    After saving / publishing, REFRESH your browser or it might display the old version (which will not work of course).
    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!


  7. #7
    PeteT is offline Sergeant
    Join Date
    Jun 2008
    Posts
    23

    Default Re: Form Problem

    The form is named "upload" and there are no white spaces in there. At first is named it "photo upload", but realized that was not correct. Like I said the form works fine except it allows it to be submitted with requiring the customer to enter their name and email address.

    Pete
    www.PhotoToCanvasCreations.com/upload.php

  8. #8
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Form Problem

    Quote Originally Posted by navaldesign View Post
    The FORM name cannot contain whitespaces.

    Your form is named "Order Form". Make it "Order_form" or "Orderform" and it will work.

    After saving / publishing, REFRESH your browser or it might display the old version (which will not work of course).
    I should have said FORM name......sorry for the slip, and thanks George......lol

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

    Default Re: Form Problem

    As David and I stated, it is the FORM name that needs to NOT have whitespaces.
    Now, your page is one word "upload", BUT the form name is two words, with a white space: "Order form"

    Double click the form, and see for your self, in the very first field: Form Name : Order Form
    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!


  10. #10
    PeteT is offline Sergeant
    Join Date
    Jun 2008
    Posts
    23

    Default Re: Form Problem

    That was it!!!!!!! Thanks for all your help, now it works fine.

    Pete

    www.PhotoToCanvasCreations.com

  11. #11
    istantch is offline Private
    Join Date
    Aug 2008
    Posts
    2

    Default Re: Form Problem

    Quote Originally Posted by navaldesign View Post
    The FORM name cannot contain whitespaces.

    Your form is named "Order Form". Make it "Order_form" or "Orderform" and it will work.

    After saving / publishing, REFRESH your browser or it might display the old version (which will not work of course).
    After an hour of searching why my form wont validate the post from navaldesign solved my problem - space in the form name- THX ! - btw my first post here - GREAT TO BE HERE !

  12. #12
    Alter Ego is offline Private First Class
    Join Date
    Jan 2009
    Posts
    9

    Smile Re: Form Problem

    I have read through this thread, verified everything - no space in form name, etc.
    Submitting the form never triggers the error page.
    I think I have set-up properly the email field - data type: email address, data required, custom error - no custom error message combination.

    The error page is never triggered.

    http://www.alteregoimpartition.com/contact-us.php

    Thanks for the help!

    Pierre

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

    Default Re: Form Problem

    There IS a space in the form name

    Your form is named "Contact Us" . There IS a white space between the two words.
    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!


  14. #14
    Alter Ego is offline Private First Class
    Join Date
    Jan 2009
    Posts
    9

    Default Re: Form Problem

    duh!
    I feel stoopid. )
    It was too obvious, I was digging too deep!

    Thanks a lot!
    problem solved!!

    Pierre

  15. #15
    thuydung88 is offline Private
    Join Date
    Mar 2009
    Posts
    3

    Default Re: Form Problem

    Hi there,

    I'm kind of new here. Also I'm kind of new to PHP. I'm still learning.
    I got a problem with a form I'm using.

    If I filled it in and press the submit button it goed to a php page and stays there instead of going to the Thanx page.

    I attached my html and php file.

    Please help me out.

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