Results 1 to 17 of 17

Thread: My form
      
   

  1. #1
    Leslein's Avatar
    Leslein is offline Master Sergeant
    Join Date
    Feb 2008
    Location
    NE Ohio
    Posts
    66

    Default My form

    on my site lesleinlawn.com I have a form on my contact page that is not working correctly.

    I updated my website from last year and have created a form before that worked but on the new form I made I am having no luck.

    Now when I built my site last year I do not think the form making process was the same as now, maybe wrong.

    Now let me say this first. I am not one for asking for help. I have gone through this form development over and over. I have searched old threads, I have deleted redid, everything I know to do.

    Here is what is happening.

    I get no email sent. After submit it goes back to the contact page.

    when I pull up the properties for this form. I have use built in PHP checked.
    I have the email address correct. For the success html. I have tried action,php, I have tried success.html.

    I have pages named action.php and success.html


    I am certainly no expert and I know I am doing something wrong. But I just can not get it figured out.

    Thank you,
    Craig
    pjszxsuo

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

    Default Re: My form is not working

    Cant see your contact form, so cant see the source code.

    Have you used the form wizzard in Bluevoda?

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

    Default Re: My form is not working

    Your link to your contact form is going to an html page. It should be a php, which is there but you should delete the html version and correct you links. You must also link your form to your success page. In the field enter success.html, do the same for your error page. I do don't see where it is directed to your succes page (could be missing it) If you used the wizard it may make things a bit easier (all I am used to, and in the action field it is already filled in with
    <?echo($_SERVER[PHP_SELF']);?>
    Then the method is multipart/formdata
    then the success and error fields are near the bottom.

  4. #4
    Leslein's Avatar
    Leslein is offline Master Sergeant
    Join Date
    Feb 2008
    Location
    NE Ohio
    Posts
    66

    Default Re: My form is not working

    Quote Originally Posted by D'son View Post
    Your link to your contact form is going to an html page. It should be a php, which is there but you should delete the html version and correct you links. You must also link your form to your success page. In the field enter success.html, do the same for your error page. I do don't see where it is directed to your succes page (could be missing it) If you used the wizard it may make things a bit easier (all I am used to, and in the action field it is already filled in with
    <?echo($_SERVER[PHP_SELF']);?>
    Then the method is multipart/formdata
    then the success and error fields are near the bottom.
    thank you much,

    I have used the wizard, yes. Probably 4 - 5 times. Even tried to adjust properties after wizard development. Deleted it just as many. Thats when I tried without the wizard.

    I have tried php and html. Tried action.php (as it was when I made it a year ago) I tried success. php and html as well with error.

    I am now trying to start a page from scratch, naming it success.

    Should it be php or html (in the page properties)?

    When I did it the first time a year ago, I had to go and add to the code. I see not like that anymore.

    I have deleted the action, error, success, php, and htmls from the public_html files.

    Thanks for your help, I know it sounds odd, but something just isn't right.

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

    Default Re: My form

    When you insert the form on your page go into the properties and name your form (do not use any spaces or it will not work), ecoding type multipart/form data, check the box for the built in php processor, fill in your web site address and what you want it to say in the email you get. Then you can enter your success and error page names, just the names and extention no dot or back space (./) as is there now or leave it and name your pages success and error. When you publish your page the page will be a .php And your success and error pages will be html. Good Luck

  6. #6
    Leslein's Avatar
    Leslein is offline Master Sergeant
    Join Date
    Feb 2008
    Location
    NE Ohio
    Posts
    66

    Default Re: My form

    so when I make that form a php use, it switches the properties of the whole page to php? Is that correct?

  7. #7
    Leslein's Avatar
    Leslein is offline Master Sergeant
    Join Date
    Feb 2008
    Location
    NE Ohio
    Posts
    66

    Default Re: My form

    Quote Originally Posted by D'son View Post
    , ecoding type multipart/form data,
    ah, mine was set to text/plain

    name is contact1

    thanks, I am working on it now.

  8. #8
    Leslein's Avatar
    Leslein is offline Master Sergeant
    Join Date
    Feb 2008
    Location
    NE Ohio
    Posts
    66

    Default Re: My form

    OK, I did exactly what you said.

    thank you, I have my fingers crossed.

    It is taking a little while for the publish to take effect.

    Thank you

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

    Default Re: My form

    Whats the address so we can test it for you.

  10. #10
    Leslein's Avatar
    Leslein is offline Master Sergeant
    Join Date
    Feb 2008
    Location
    NE Ohio
    Posts
    66

  11. #11
    Leslein's Avatar
    Leslein is offline Master Sergeant
    Join Date
    Feb 2008
    Location
    NE Ohio
    Posts
    66

    Default Re: My form

    it seems to be working.

    except I have to change my links to php now

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

    Default Re: My form

    You need to either change the color of the text font or the background, can't see the words on either the form or the success page (I imagine the error page is the same) and you need to validate your form I was able to send a blenk response.

  13. #13
    Leslein's Avatar
    Leslein is offline Master Sergeant
    Join Date
    Feb 2008
    Location
    NE Ohio
    Posts
    66

    Default Re: My form

    Yippie,

    you guys are the best, thank you, thank you, thank you!!!


    I knew it was something I was not getting


    Craig

  14. #14
    Leslein's Avatar
    Leslein is offline Master Sergeant
    Join Date
    Feb 2008
    Location
    NE Ohio
    Posts
    66

    Default Re: My form

    validate, meaning required to fill in the boxes?

    Yes I am going to go tweak things now.

    Thank you very much for helping me!!

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

    Default Re: My form

    Yes, also while your at it you can set your tab order at the same time. Right click on each field in the order you want them be and click move to front, do this for all the fields including the submit button.

    Your welcome, Glad it is working.

  16. #16
    Leslein's Avatar
    Leslein is offline Master Sergeant
    Join Date
    Feb 2008
    Location
    NE Ohio
    Posts
    66

    Default Re: My form

    D'son thanks for your time.

    Got a little tweaking done. Font color, validation, tab order.

    Now will go put font to my success and error page.

    What should I put on the error page? On the success page I know to put thank you, someone will be in touch or to that nature.
    But the error page, when does it come up, what should it say?

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

    Default Re: My form

    It could be as simple "We're sorry an error has occurred. Please try again"

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