Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    29
    Member #
    955
    I seem to be having trouble with forms. I want to make a simple form that the user submits basic information too (Name, email address, and a field for them to type a short message). I want the form to arrive in my inbox, but i don't know how to do this. I'm using Dreamweaver MX btw.

    Could Someone gimme some help?
    -Taylor Fate

  2.  

  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Well, depending on what kind of server you're using, this can be really easy or really difficult.

    Forms themselves are a piece of cake.

    Here's a pretty cool page that builds mail forms for you:

    http://www.aota.net/Pre-Installed_Sc...tmailform.php4

    Check it out and see what you think.

  4. #3
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    The above example uses CGI mailform, though. If you don't have that script installed on your server, it won't work.

  5. #4
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    transio's right. This would depend on what server you were using and the languages/scripts allowable on it.

    The best thing you can do is to take a look at what your host offers as far as this goes and reask the question as far as "how do I do this in ASP/CGI/Perl/PHP/etc.?"
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  6. #5
    Junior Member
    Join Date
    Mar 2003
    Posts
    29
    Member #
    955
    Sounds like quite a bit of work, i could just add an email address....
    -Taylor Fate

  7. #6
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    There's also a mail form tutorial here for PHP:
    [searchwdf]mail form[/searchwdf]
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  8. #7
    Member
    Join Date
    Jul 2005
    Posts
    77
    Member #
    10681
    Hey guys, I too have been having this same problem and I stumbled across this thread... I like the auto CGI form creator but my question is what do I do when I put it up on the web? The hosting company says I will have my own "private CGI bin" so doesn that mean the form will just work when I put it up? Hope someone is still reading this!

    Thanks in advance
    Neil

  9. #8
    Senior Member glyakk's Avatar
    Join Date
    Nov 2003
    Location
    USA
    Posts
    1,263
    Member #
    3828
    Liked
    6 times
    The form is not the magic bean in the grand scheme of things. Your form is simply the medium that your user uses to send data to a script that does the actual work.. so you must have your script in your cgi bin if you plan on making this work.

    The script(CGI, PHP, ASP, etc..) then parses that data and does something with it, like send it to your inbox or maybe put it into your database. It depends on your script..

    There are a ton of tutorials out there on how to make email forms, do a quick search on google.


  10. #9
    Member
    Join Date
    Jul 2005
    Posts
    77
    Member #
    10681
    Thanks for your reply glyakk... I probably should have been more specific about what I want the form to do - just simply gather some data and a comment and send it to an e-mail address. The website above automatically creates the code for you and then you slot it into your page.

    My problem is that the website (and all of the tutorials I can find on the subject) do not tell me if I need to do anything apart from put the code on my page.

    I assume that "my own CGI bin" means that I will have a CGI folder in my web space but do I need to do anything with this or will my code (ie. within my HTML) just interact with it?

    Hope that makes sense! Sorry if it doesnt!
    Neil

  11. #10
    Senior Member glyakk's Avatar
    Join Date
    Nov 2003
    Location
    USA
    Posts
    1,263
    Member #
    3828
    Liked
    6 times
    many of these 'script generators' allow you to use their own script on their site, and will actually spit out the code and all you need to do is put that code in your page word for word.. so it sounds like you would simply past whatever the script generator gave you into your page, and it should just work.

    Best way to tell is in the form tag, what value is given for the 'action' attribute?
    For example
    HTML Code:
    <form method="post" action="/path/to/bin">



Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:02 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com