Form send function question

7 replies
So I am building a form in Dreamweaver. From the videos I have seen on YouTube, they don't give much information on how to get the button to send the form data to me. Dreamweaver seems to only allow you to enter the button, but shouldn't it have a URL to the script in order to function? I can't seem to figure out how to add a URL to the button. Or else, how does the button know to send the data to me.

Yes, you probably figured I am a newbie where Dreamweaver is concerned. This is my first attempt at building a form. And I have about half a dozen on this web site that I need to get to work.

So, can anyone offer any advice for me to progress in my learning of forms and how they work?
#form #function #question #send
  • Profile picture of the author RyanAndrews
    The form has the URL to your script.
    The button goes inside the form to submit it. You don't add the URL to the button.
    Signature
    {{ DiscussionBoard.errors[3561970].message }}
  • Profile picture of the author stma
    Instead of learning how to do it with DW learn how to do it hand coded style. DW sucks for forms -- but I imagine it sucks more for learning

    Once you understand what to do with the action and fun stuff like that, then you can head back in and make the form in DW.

    Plenty of tutorials on-line on making forms do what you want. Start there.
    {{ DiscussionBoard.errors[3562373].message }}
  • Profile picture of the author timpears
    Alright, so I got out Notpad and created a form. All it does is open up my email client and populate it with the data from the form. What am I doing wrong? The form is at Order Form

    I guess this would work, but it isn't too professional. I don't see other forms make me send the email. And what would happen if they used a web mail?
    Signature

    Tim Pears

    {{ DiscussionBoard.errors[3562707].message }}
    • Profile picture of the author SteveJohnson
      Originally Posted by timpears View Post

      Alright, so I got out Notpad and created a form. All it does is open up my email client and populate it with the data from the form. What am I doing wrong? The form is at Order Form

      I guess this would work, but it isn't too professional. I don't see other forms make me send the email. And what would happen if they used a web mail?
      You're not doing anything wrong - you've just hit the limitation of forms in HTML.

      NOW, you have to set up a script on your server that will process the form data and email it to you. Here's a tutorial on how to do it with Dreamweaver CS4: How to Add a Feedback Form to Your Website with Dreamweaver CS4 (thesitewizard.com)
      Signature

      The 2nd Amendment, 1789 - The Original Homeland Security.

      Gun control means never having to say, "I missed you."

      {{ DiscussionBoard.errors[3562791].message }}
      • Profile picture of the author timpears
        Originally Posted by SteveJohnson View Post

        You're not doing anything wrong - you've just hit the limitation of forms in HTML.
        I could have sworn that I read the 'post form action was supposed to send the email. Oh well. I have a script to send the data, I am just not sure how to implement it. I will check out your tutorial though, and maybe I can figure it out.

        Thanks.
        Signature

        Tim Pears

        {{ DiscussionBoard.errors[3562835].message }}
  • Profile picture of the author SteveJohnson
    If you use "mailto:" in the form action, the browser will fire up whatever email client the visitor has set as the default mailer. That's what you're seeing now.

    If you want to do it 'behind the scenes' and actually use the form data, you have to have a way of collecting and processing it.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[3562878].message }}
  • Profile picture of the author timpears
    I have spent all day watching videos on YouTube and reading directions on how to create these forms to send to your email. All for nothing. I am right where I started, except that I am a day older. This is damn frustrating. Why can't I get these forms to work like they do in the videos?

    Is there anyone out there that is willing to create me a simple form that I can modify, with the script attached? So that I can get this site built. I don't have much money, but I would be willing to pay if it isn't a whole lot. I am just about at the end of my rope with this. I really could have spent my time on something productive.
    Signature

    Tim Pears

    {{ DiscussionBoard.errors[3564981].message }}

Trending Topics